diff options
Diffstat (limited to 'deps/v8/tools/system-analyzer/log/log.mjs')
-rw-r--r-- | deps/v8/tools/system-analyzer/log/log.mjs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/tools/system-analyzer/log/log.mjs b/deps/v8/tools/system-analyzer/log/log.mjs new file mode 100644 index 0000000000..2945f0e76b --- /dev/null +++ b/deps/v8/tools/system-analyzer/log/log.mjs @@ -0,0 +1,22 @@ +// Copyright 2020 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + + +class Event { + #time; + #type; + constructor(type, time) { + //TODO(zcankara) remove type and add empty getters to override + this.#time = time; + this.#type = type; + } + get time() { + return this.#time; + } + get type() { + return this.#type; + } +} + +export { Event }; |