search for: cacheprof

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

2000 Aug 19
3
New LSP code committed
So, it turns out (and another implementation actually explicitly mentions it) that LSP->LPC computation using the FIR algorithm is very sensitive to noise (iterative algorithm) and really really requires doubles [we're not kidding]. This was complicating things for folks pursuing fixed point implementations, and also was a potential source for bugs if FP optimizations got out of hand. This
2013 Jan 16
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
...(Type*)0); cacheCounter= cast<Function>(hookFunc); for(Module::iterator F = M.begin(), E = M.end(); F!= E; ++F) { for(Function::iterator BB = F->begin(), E = F->end(); BB != E; ++BB) { cacheProf::runOnBasicBlock(BB, hookFunc, context); } } return false; } virtual bool runOnBasicBlock(Function::iterator &BB, Constant* hookFunc, LLVMContext& context) { for(BasicBlock::iterator BI = BB->begin(),...
2013 Jan 20
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
...unter= cast<Function>(hookFunc); > > for(Module::iterator F = M.begin(), E = M.end(); F!= E; ++F) > { > > for(Function::iterator BB = F->begin(), E = F->end(); BB != > E; ++BB) > { > cacheProf::runOnBasicBlock(BB, hookFunc, context); > } > } > > return false; > } > virtual bool runOnBasicBlock(Function::iterator &BB, Constant* > hookFunc, LLVMContext& context) > { > >...
2013 Jan 15
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi Silky, On 14/01/13 01:47, Silky Arora wrote: > I need to profile the code for branches (branch mis predicts > simulation), load/store instructions (for cache hits/miss rate), and a > couple of other things and therefore, would need to instrument the code. > However, I would like to know if writing the output to a file would > increase the execution time, or is it the profiling
2013 Jan 14
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi, @Alastair: Thanks a bunch for explaining this so well. I was able to write a simple profiler, and run it. I need to profile the code for branches (branch mis predicts simulation), load/store instructions (for cache hits/miss rate), and a couple of other things and therefore, would need to instrument the code. However, I would like to know if writing the output to a file would increase the