diff options
author | Palmer <palmer@lindenlab.com> | 2009-08-06 14:29:59 -0700 |
---|---|---|
committer | Palmer <palmer@lindenlab.com> | 2009-08-06 14:29:59 -0700 |
commit | 27cf39cdbf27fe52dcf9c70cfdadcc18ddf2e75c (patch) | |
tree | 90934fc1e00aff7141dbbb05a12906ace05ef749 /indra | |
parent | 47e547fcba802af3145f06fa5b8aa9af2942d294 (diff) |
DEV-36732
Total time of frame saved
Reviewed by Brad
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfasttimerview.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index b373dd2241..bae3d57300 100644 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -982,8 +982,12 @@ LLSD LLFastTimerView::analyzePerformanceLogDefault(std::istream& is) std::string label = iter->first; F64 time = iter->second["Time"].asReal(); - - total_time += time; + + // Skip the total figure + if(label.compare("Total") != 0) + { + total_time += time; + } if (time > 0.0) { |