Skip to content

Commit 49d124c

Browse files
committed
ESDK-3933 Added support for the RTT feature into EMACPP.
1 parent c14a419 commit 49d124c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2170
-435
lines changed

Cpp-C/Ema/Examples/PerfTools/Common/GetTime.cpp

Lines changed: 0 additions & 266 deletions
This file was deleted.

Cpp-C/Ema/Examples/PerfTools/Common/GetTime.h

Lines changed: 0 additions & 90 deletions
This file was deleted.

Cpp-C/Ema/Examples/PerfTools/Common/Statistics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ bool ResourceUsageStats::getResourceUsageStats()
158158
cpuUsageFraction = (double)(userUsec - _prevUserTimeUsec + kernelUsec - _prevKernelTimeUsec);
159159

160160
/* Divide over total time to get the CPU usage as a fraction. */
161-
currentTimeUsec = GetTime::getTimeMicro();
161+
currentTimeUsec = GetTime::getMicros();
162162
cpuUsageFraction /= ((double)(currentTimeUsec - _prevTimeUsec));
163163

164164
_prevUserTimeUsec = userUsec;

Cpp-C/Ema/Examples/PerfTools/Common/Statistics.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ typedef int DUMMY_SOCKET;
2222

2323
#undef maxValue
2424
#undef minValue
25-
#include "../Common/GetTime.h"
2625
#include <float.h>
2726
#include "Ema.h"
2827
#include <stdio.h>

Cpp-C/Ema/Examples/PerfTools/EmaCppConsPerf/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ set(_ConsPerfSrcFiles
88
ConsumerThread.h
99
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/AppUtil.cpp
1010
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/CtrlBreakHandler.cpp
11-
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/GetTime.cpp
1211
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/Mutex.cpp
1312
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/PerfConfig.cpp
1413
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/Statistics.cpp
@@ -17,7 +16,6 @@ set(_ConsPerfSrcFiles
1716
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/AppUtil.h
1817
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/AppVector.h
1918
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/CtrlBreakHandler.h
20-
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/GetTime.h
2119
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/Mutex.h
2220
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/PerfConfig.h
2321
${Ema_SOURCE_DIR}/Examples/PerfTools/Common/Statistics.h

0 commit comments

Comments
 (0)