summaryrefslogtreecommitdiff
path: root/src/tracing/trace_event.cc
blob: b83cae6e05c10cdf83cac9d4045d5121cb6e601e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "tracing/trace_event.h"

namespace node {
namespace tracing {

v8::Platform* platform_ = nullptr;

void TraceEventHelper::SetCurrentPlatform(v8::Platform* platform) {
  platform_ = platform;
}

v8::Platform* TraceEventHelper::GetCurrentPlatform() {
  return platform_;
}

}  // namespace tracing
}  // namespace node