From 3bbe5b6d96a53454adaa13ad6e590717c287c3f7 Mon Sep 17 00:00:00 2001 From: "Nyx (Neal Orman)" Date: Fri, 3 Sep 2010 11:31:08 -0400 Subject: CTS-237 WIP test performance to validate new ARC algorithm minor cleanup and fixing the linux build. --- indra/newview/llfasttimerview.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'indra/newview/llfasttimerview.cpp') diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp index 2bfbe0e1c4..36aee733fd 100644 --- a/indra/newview/llfasttimerview.cpp +++ b/indra/newview/llfasttimerview.cpp @@ -1126,9 +1126,6 @@ void LLFastTimerView::exportCharts(const std::string& base, const std::string& t base_total_time += base_data[i]["Total"]["Time"].asReal(); } - LLSD::Real total_time = llmax(base_total_time, cur_total_time); - - //allocate raw scratch space LLPointer scratch = new LLImageRaw(1024, 512, 3); @@ -1147,11 +1144,8 @@ void LLFastTimerView::exportCharts(const std::string& base, const std::string& t { std::string label = *iter; - LLSD::Real cur_start_time = -1.0; - LLSD::Real cur_end_time = 0.0; - LLSD::Real max_time = 0.0; - LLSD::Integer max_calls = 0.0; + LLSD::Integer max_calls = 0; LLSD::Real max_execution = 0.0; std::vector cur_execution; -- cgit v1.3