4 #include "llvm/Support/Timer.h" 20 return SuccessfulGlobalReductionCounter;
24 return SuccessfulLocalReductionCounter;
50 int GlobalReductionCounter = 0;
51 int SuccessfulGlobalReductionCounter = 0;
52 int LocalReductionCounter = 0;
53 int SuccessfulLocalReductionCounter = 0;
55 llvm::TimeRecord ChiselTimeRecord;
56 llvm::TimeRecord LearningTimeRecord;
57 llvm::TimeRecord OracleTimeRecord;
59 llvm::Timer ChiselTimer;
60 llvm::Timer LearningTimer;
61 llvm::Timer OracleTimer;
int getSuccessfulLocalReductionCounter()
Definition: Profiler.h:23
llvm::TimeRecord & getOracleTimeRecord()
Definition: Profiler.h:33
static Profiler * GetInstance()
Definition: Profiler.cpp:15
llvm::Timer & getLearningTimer()
Definition: Profiler.h:28
void beginChisel()
Definition: Profiler.cpp:35
int getLocalReductionCounter()
Definition: Profiler.h:22
void incrementSuccessfulGlobalReductionCounter()
Definition: Profiler.cpp:25
int getGlobalReductionCounter()
Definition: Profiler.h:18
void incrementLocalReductionCounter()
Definition: Profiler.cpp:29
static void Finalize()
Definition: Profiler.cpp:21
llvm::TimeRecord & getChiselTimeRecord()
Definition: Profiler.h:31
llvm::Timer & getOracleTimer()
Definition: Profiler.h:29
void endChisel()
Definition: Profiler.cpp:40
void endLearning()
Definition: Profiler.cpp:64
void beginOracle()
Definition: Profiler.cpp:47
llvm::TimeRecord & getLearningTimeRecord()
Definition: Profiler.h:32
void endOracle()
Definition: Profiler.cpp:52
static void Initialize()
Definition: Profiler.cpp:7
int getSuccessfulGlobalReductionCounter()
Definition: Profiler.h:19
void incrementSuccessfulLocalReductionCounter()
Definition: Profiler.cpp:31
void beginLearning()
Definition: Profiler.cpp:59
void incrementGlobalReductionCounter()
Definition: Profiler.cpp:23
llvm::Timer & getChiselTimer()
Definition: Profiler.h:27
Keeps track of performance information that is used in preparing the report.
Definition: Profiler.h:7