GCC Code Coverage Report
Directory: ../src/ Exec Total Coverage
File: /home/node-core-coverage/node-core-coverage/workdir/node/out/../src/tracing/trace_event.cc Lines: 3 5 60.0 %
Date: 2017-01-02 Branches: 0 0 0.0 %

Line Branch Exec Source
1
#include "tracing/trace_event.h"
2
3
namespace node {
4
namespace tracing {
5
6
v8::Platform* platform_ = nullptr;
7
8
22615
void TraceEventHelper::SetCurrentPlatform(v8::Platform* platform) {
9
22615
  platform_ = platform;
10
22615
}
11
12
v8::Platform* TraceEventHelper::GetCurrentPlatform() {
13
  return platform_;
14
}
15
16
}  // namespace tracing
17
}  // namespace node