Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/nodejs/src/node_debug.h
1 #pragma once 2 3 #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 4 5 #ifdef DEBUG 6 #include "util.h" 7 #endif // DEBUG 8 9 namespace node { 10 namespace debug { 11 12 #ifdef DEBUG 13 void TrackV8FastApiCall(FastStringKey key); 14 int GetV8FastApiCallCount(FastStringKey key); 15 16 void CountGenericUsage(FastStringKey counter_name); 17 #define COUNT_GENERIC_USAGE(name) \ 18 node::debug::CountGenericUsage(FastStringKey(name)) 19 20 #define TRACK_V8_FAST_API_CALL(key) \ 21 node::debug::TrackV8FastApiCall(FastStringKey(key)) 22 #else // !DEBUG 23 #define TRACK_V8_FAST_API_CALL(key) 24 #define COUNT_GENERIC_USAGE(name) 25 #endif // DEBUG 26 27 } // namespace debug 28 } // namespace node 29 30 #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS