GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage/nodes/benchmark/out/../src/tracing/trace_event.cc Lines: 5 5 100.0 %
Date: 2017-12-18 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::TracingController* g_controller = nullptr;
7
8
3345
void TraceEventHelper::SetTracingController(v8::TracingController* controller) {
9
3345
  g_controller = controller;
10
3345
}
11
12
32520
v8::TracingController* TraceEventHelper::GetTracingController() {
13
32520
  return g_controller;
14
}
15
16
}  // namespace tracing
17
}  // namespace node