diff options
author | Richard Linden <none@none> | 2012-10-17 20:00:07 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-10-17 20:00:07 -0700 |
commit | a52d203a4f1d2988e8ffba16258f3f132f22f56d (patch) | |
tree | ce95e59210aa9228b92dc2abc8d5a8028e63d4cd /indra/newview/llviewerstats.h | |
parent | e6ca5471a2a816a24888ae1b38332531b22b7254 (diff) |
SH-3405 WIP convert existing stats to lltrace system
started conversion of llviewerassetstats
removed old, dead LLViewerStats code
made units tracing require units declaration
clean up of units handling
Diffstat (limited to 'indra/newview/llviewerstats.h')
-rwxr-xr-x | indra/newview/llviewerstats.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llviewerstats.h b/indra/newview/llviewerstats.h index b182a40403..06f65b2cdd 100755 --- a/indra/newview/llviewerstats.h +++ b/indra/newview/llviewerstats.h @@ -57,7 +57,7 @@ struct SimMeasurement : public LLTrace::Measurement<T>, public SimMeasurementSam /*virtual*/ void sample(F64 value) { - LLTrace::Measurement<T>::sample(value); + LLTrace::Measurement<T>::sample(T(value)); } }; @@ -318,7 +318,7 @@ void update_statistics(); void send_stats(); extern LLFrameTimer gTextureTimer; -extern U32 gTotalTextureBytes; -extern U32 gTotalObjectBytes; -extern U32 gTotalTextureBytesPerBoostLevel[] ; +extern LLUnit::Bytes<U32> gTotalTextureData; +extern LLUnit::Bytes<U32> gTotalObjectData; +extern LLUnit::Bytes<U32> gTotalTextureBytesPerBoostLevel[] ; #endif // LL_LLVIEWERSTATS_H |