search for: instrumen

Displaying 5 results from an estimated 5 matches for "instrumen".

Did you mean: instrument
2010 Apr 07
2
[LLVMdev] Get the loop trip count variable
...unt in LLVM? >> >> For example, >> >> int NUM; >> >> NUM=atoi(argv[i]); >> >> for (int i=0; i<NUM; i++) >> { >> ... >> } >> >> How can I get the corresponding variable name for "NUM"? Then, I can >> instrument something in the source code to record the loop trip count >> for a given input data set. >> >> BasicBlock* b = L->getHeader(); >> >> returns the basicblock of the loop header, but I don't know how to >> extract "NUM" from basicblock b. > &gt...
2010 Apr 07
0
[LLVMdev] Get the loop trip count variable
Hello Andreas, Thanks! But I could not find -insert-optimal-edge-instrumenation pass from "opt -help". Did you mean -insert-edge-profiling? Cheers, Zheng On 7 April 2010 12:29, Andreas Neustifter <astifter-llvm at gmx.at> wrote: > Hi, > > On 04/05/2010 10:51 PM, Eli Friedman wrote: >> >> On Mon, Apr 5, 2010 at 1:19 PM, Zheng Wang<...
2010 Apr 05
0
[LLVMdev] Get the loop trip count variable
...ering whether I can get the variable name of loop trip count in LLVM? > > For example, > > int NUM; > > NUM=atoi(argv[i]); > > for (int i=0; i<NUM; i++) > { >    ... > } > > How can I get the corresponding variable name for "NUM"? Then, I can > instrument something in the source code to record the loop trip count > for a given input data set. > > BasicBlock* b = L->getHeader(); > > returns the basicblock of the loop header, but I don't know how to > extract "NUM" from basicblock b. If you need to instrument the s...
2010 Apr 05
3
[LLVMdev] Get the loop trip count variable
Hello, I am wondering whether I can get the variable name of loop trip count in LLVM? For example, int NUM; NUM=atoi(argv[i]); for (int i=0; i<NUM; i++) { ... } How can I get the corresponding variable name for "NUM"? Then, I can instrument something in the source code to record the loop trip count for a given input data set. BasicBlock* b = L->getHeader(); returns the basicblock of the loop header, but I don't know how to extract "NUM" from basicblock b. Cheers, Zheng
2006 Dec 14
23
Using DTrace to monitor productions systems
Hi, we are developing and operating an very critical application in the financial sector. Now our customer wants us to report performance data (roundtrip times of the messages routed). My idea is using dtrace to measure the times with the pid provider catching the timestamps on entry of the in and out functions of the processes. Now my questions ;-): 1) Is this an appropriate method to monitor