Skip to content

Commit

Permalink
GetExclTimeForCounter was actually returning the inclusive time. Luck…
Browse files Browse the repository at this point in the history
…ily, it was not used anywhere.

Former-commit-id: da8d4cef25d5a30ed3154ea69a728cde4c0168ed
  • Loading branch information
sameershende committed Apr 26, 2011
1 parent 5132990 commit 1fb9a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Profile/FunctionInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class FunctionInfo
inline void AddInclTimeForCounter(double value, int tid, int counter) { InclTime[tid][counter] += value; }
inline void AddExclTimeForCounter(double value, int tid, int counter) { ExclTime[tid][counter] += value; }
inline double GetInclTimeForCounter(int tid, int counter) { return InclTime[tid][counter]; }
inline double GetExclTimeForCounter(int tid, int counter) { return InclTime[tid][counter]; }
inline double GetExclTimeForCounter(int tid, int counter) { return ExclTime[tid][counter]; }

TauGroup_t GetProfileGroup(int tid = RtsLayer::myThread()) const {return MyProfileGroup_[tid]; }
void SetProfileGroup(TauGroup_t gr, int tid = RtsLayer::myThread()) {MyProfileGroup_[tid] = gr; }
Expand Down

0 comments on commit 1fb9a0c

Please sign in to comment.