summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index e299d87730..7452dc05e9 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -308,15 +308,26 @@ v8::MaybeLocal<v8::Value> ExecuteBootstrapper(
std::vector<v8::Local<v8::String>>* parameters,
std::vector<v8::Local<v8::Value>>* arguments);
void MarkBootstrapComplete(const v8::FunctionCallbackInfo<v8::Value>& args);
+
+#if HAVE_INSPECTOR
namespace profiler {
void StartCoverageCollection(Environment* env);
+void EndStartedProfilers(Environment* env);
}
+#endif // HAVE_INSPECTOR
+
#ifdef _WIN32
typedef SYSTEMTIME TIME_TYPE;
#else // UNIX, OSX
typedef struct tm TIME_TYPE;
#endif
+double GetCurrentTimeInMicroseconds();
+int WriteFileSync(const char* path, uv_buf_t buf);
+int WriteFileSync(v8::Isolate* isolate,
+ const char* path,
+ v8::Local<v8::String> string);
+
class DiagnosticFilename {
public:
static void LocalTime(TIME_TYPE* tm_struct);