v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::metrics::TimedScope< T, precision > Class Template Reference

#include <metrics.h>

Collaboration diagram for v8::internal::metrics::TimedScope< T, precision >:

Public Member Functions

 TimedScope (T *event)
 
 ~TimedScope ()
 
void Start ()
 
void Stop ()
 

Private Attributes

Tevent_
 
base::TimeTicks start_time_
 

Detailed Description

template<class T, int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
class v8::internal::metrics::TimedScope< T, precision >

Definition at line 88 of file metrics.h.

Constructor & Destructor Documentation

◆ TimedScope()

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
v8::internal::metrics::TimedScope< T, precision >::TimedScope ( T * event)
inlineexplicit

Definition at line 90 of file metrics.h.

◆ ~TimedScope()

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
v8::internal::metrics::TimedScope< T, precision >::~TimedScope ( )
inline

Definition at line 91 of file metrics.h.

Member Function Documentation

◆ Start()

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
void v8::internal::metrics::TimedScope< T, precision >::Start ( )
inline

Definition at line 93 of file metrics.h.

Here is the call graph for this function:

◆ Stop()

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
void v8::internal::metrics::TimedScope< T, precision >::Stop ( )
inline

Definition at line 95 of file metrics.h.

Here is the call graph for this function:

Member Data Documentation

◆ event_

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
T* v8::internal::metrics::TimedScope< T, precision >::event_
private

Definition at line 103 of file metrics.h.

◆ start_time_

template<class T , int64_t(base::TimeDelta::*)() const precision = &base::TimeDelta::InMicroseconds>
base::TimeTicks v8::internal::metrics::TimedScope< T, precision >::start_time_
private

Definition at line 104 of file metrics.h.


The documentation for this class was generated from the following file: