| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license | |
| 5 * that can be found in the LICENSE file in the root of the source | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef TIMED_TRACE_H | |
| 12 #define TIMED_TRACE_H | |
| 13 | |
| 14 #include "webrtc/typedefs.h" | |
| 15 | |
| 16 #include <stdio.h> | |
| 17 #include <stdlib.h> | |
| 18 | |
| 19 class TimedTrace { | |
| 20 public: | |
| 21 TimedTrace(); | |
| 22 ~TimedTrace(); | |
| 23 | |
| 24 void SetTimeEllapsed(double myTime); | |
| 25 double TimeEllapsed(); | |
| 26 void Tick10Msec(); | |
| 27 int16_t SetUp(char* fileName); | |
| 28 void TimedLogg(char* message); | |
| 29 | |
| 30 private: | |
| 31 static double _timeEllapsedSec; | |
| 32 static FILE* _timedTraceFile; | |
| 33 | |
| 34 }; | |
| 35 | |
| 36 #endif | |
| OLD | NEW |