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

#include <Statistics.h>

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 29 of file Statistics.h.

Member Typedef Documentation

◆ Duration

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

Definition at line 31 of file Statistics.h.

◆ InternalDuration

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

Definition at line 45 of file Statistics.h.

Member Function Documentation

◆ get()

Duration lldb_private::StatsDuration::get ( ) const

◆ operator Duration()

lldb_private::StatsDuration::operator Duration ( ) const

Definition at line 36 of file Statistics.h.

References get().

◆ operator+=()

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

Definition at line 38 of file Statistics.h.

References value.

Member Data Documentation

◆ value

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

Definition at line 46 of file Statistics.h.

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

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