+
+static const double msecsInSec = 1000000;
+
+static void timeFrameFetch(Trace::Loader &loader, unsigned frameIdx)
+{
+ long long t1, t2;
+ std::vector<Trace::Call*> frame;
+
+ t1 = OS::GetTime();
+ frame = loader.frame(frameIdx);
+ t2 = OS::GetTime();
+ std::cout << "Time to fetch the frame["
+ << frameIdx
+ << "] size "
+ << frame.size()
+ << " is = "
+ << (t2 - t1)/msecsInSec
+ << " secs "<<std::endl;
+}
+
+