LLDB  mainline
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
lldb_private::StatsDuration Class Reference

#include <Statistics.h>

Collaboration diagram for lldb_private::StatsDuration:
Collaboration graph
[legend]

Public Types

using Duration = std::chrono::duration< double >
 

Public Member Functions

Duration get () const
 
 operator Duration () const
 
StatsDurationoperator+= (Duration dur)
 

Private Types

using InternalDuration = std::chrono::duration< uint64_t, std::micro >
 

Private Attributes

std::atomic< uint64_t > value {0}
 

Detailed Description

Definition at line 27 of file Statistics.h.

Member Typedef Documentation

◆ Duration

using lldb_private::StatsDuration::Duration = std::chrono::duration<double>

Definition at line 29 of file Statistics.h.

◆ InternalDuration

using lldb_private::StatsDuration::InternalDuration = std::chrono::duration<uint64_t, std::micro>
private

Definition at line 43 of file Statistics.h.

Member Function Documentation

◆ get()

Duration lldb_private::StatsDuration::get ( ) const
inline

◆ operator Duration()

lldb_private::StatsDuration::operator Duration ( ) const
inline

Definition at line 34 of file Statistics.h.

References get().

◆ operator+=()

StatsDuration& lldb_private::StatsDuration::operator+= ( Duration  dur)
inline

Definition at line 36 of file Statistics.h.

References value.

Member Data Documentation

◆ value

std::atomic<uint64_t> lldb_private::StatsDuration::value {0}
private

Definition at line 44 of file Statistics.h.

Referenced by get(), and operator+=().


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