GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage-daily/nodes/benchmark/out/../src/tracing/trace_event.cc Lines: 7 7 100.0 %
Date: 2019-03-02 22:23:06 Branches: 0 0 - %

Line Branch Exec Source
1
#include "tracing/trace_event.h"
2
3
namespace node {
4
namespace tracing {
5
6
Agent* g_agent = nullptr;
7
8
4247
void TraceEventHelper::SetAgent(Agent* agent) {
9
4247
  g_agent = agent;
10
4247
}
11
12
625
Agent* TraceEventHelper::GetAgent() {
13
625
  return g_agent;
14
}
15
16
1443850
TracingController* TraceEventHelper::GetTracingController() {
17
1443850
  return g_agent->GetTracingController();
18
}
19
20
}  // namespace tracing
21
}  // namespace node