Displaying 5 results from an estimated 5 matches for "instrumenation".
Did you mean:
instrumentation
2010 Apr 07
2
[LLVMdev] Get the loop trip count variable
...source, you'd probably be better off
> doing this with clang purely at the source level; by the time LLVM
> loop analyzers can tell "NUM" is the trip count, the name is likely to
> be lost due to optimization.
You can also use the instrumentation pass
(-insert-optimal-edge-instrumenation) to instrument all your code, this
adds about 10% runtime overhead.
Also with some tweaking the instrumentation pass could be talked into
instrumenting only loop headers so that only the loop counts get
recorded but for a code with a whole lot of loops this would be almost
equivalent to do the...
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<jason...
2010 Apr 05
0
[LLVMdev] Get the loop trip count variable
On Mon, Apr 5, 2010 at 1:19 PM, Zheng Wang <jason.wangz at gmail.com> wrote:
> 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"?
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
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