Lines Matching defs:args

100 void MarkMilestone(const FunctionCallbackInfo<Value>& args) {
101 Environment* env = Environment::GetCurrent(args);
103 static_cast<PerformanceMilestone>(args[0].As<Int32>()->Value());
108 void SetupPerformanceObservers(const FunctionCallbackInfo<Value>& args) {
109 Environment* env = Environment::GetCurrent(args);
110 CHECK(args[0]->IsFunction());
111 env->set_performance_entry_callback(args[0].As<Function>());
199 const FunctionCallbackInfo<Value>& args) {
200 Environment* env = Environment::GetCurrent(args);
211 const FunctionCallbackInfo<Value> &args) {
212 Environment* env = Environment::GetCurrent(args);
219 void Notify(const FunctionCallbackInfo<Value>& args) {
220 Environment* env = Environment::GetCurrent(args);
221 Utf8Value type(env->isolate(), args[0]);
222 Local<Value> entry = args[1];
233 void LoopIdleTime(const FunctionCallbackInfo<Value>& args) {
234 Environment* env = Environment::GetCurrent(args);
236 args.GetReturnValue().Set(1.0 * idle_time / 1e6);
239 void CreateELDHistogram(const FunctionCallbackInfo<Value>& args) {
240 Environment* env = Environment::GetCurrent(args);
241 int64_t interval = args[0].As<Integer>()->Value();
257 args.GetReturnValue().Set(histogram->object());
260 void GetTimeOrigin(const FunctionCallbackInfo<Value>& args) {
261 args.GetReturnValue().Set(Number::New(args.GetIsolate(), timeOrigin / 1e6));
264 void GetTimeOriginTimeStamp(const FunctionCallbackInfo<Value>& args) {
265 args.GetReturnValue().Set(
266 Number::New(args.GetIsolate(), timeOriginTimestamp / MICROS_PER_MILLIS));
269 void MarkBootstrapComplete(const FunctionCallbackInfo<Value>& args) {
270 Environment* env = Environment::GetCurrent(args);