blob: 8197fdc08a56e91a0f60f9403b4b256396ad5b2f [file] [log] [blame]
// Copyright 2010 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.
#include "src/diagnostics/etw-debug-win.h"
#include <windows.h>
namespace v8 {
namespace internal {
/*static*/
EtwTraceDebug EtwTraceDebug::info;
std::ostream& operator<<(std::ostream& os, const EtwTraceDebug&) {
os << "PID:" << ::GetCurrentProcessId() << "; TID:" << ::GetCurrentThreadId()
<< " ";
return os;
}
} // namespace internal
} // namespace v8