LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb_private::Timer::Category Class Reference

#include <Timer.h>

Collaboration diagram for lldb_private::Timer::Category:
Collaboration graph
[legend]

Public Member Functions

 Category (const char *category_name)
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (Category)
 

Private Attributes

const char * m_name
 
std::atomic< uint64_t > m_nanos
 
std::atomic< uint64_t > m_nanos_total
 
std::atomic< uint64_t > m_count
 
std::atomic< Category * > m_next
 

Friends

class Timer
 

Detailed Description

Definition at line 25 of file Timer.h.

Constructor & Destructor Documentation

◆ Category()

Timer::Category::Category ( const char *  category_name)
explicit

Definition at line 43 of file Timer.cpp.

References g_categories, m_count, m_nanos, m_nanos_total, and m_next.

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

lldb_private::Timer::Category::DISALLOW_COPY_AND_ASSIGN ( Category  )
private

Friends And Related Function Documentation

◆ Timer

friend class Timer
friend

Definition at line 30 of file Timer.h.

Member Data Documentation

◆ m_count

std::atomic<uint64_t> lldb_private::Timer::Category::m_count
private

Definition at line 34 of file Timer.h.

Referenced by Category(), and lldb_private::Timer::~Timer().

◆ m_name

const char* lldb_private::Timer::Category::m_name
private

Definition at line 31 of file Timer.h.

◆ m_nanos

std::atomic<uint64_t> lldb_private::Timer::Category::m_nanos
private

Definition at line 32 of file Timer.h.

Referenced by Category(), and lldb_private::Timer::~Timer().

◆ m_nanos_total

std::atomic<uint64_t> lldb_private::Timer::Category::m_nanos_total
private

Definition at line 33 of file Timer.h.

Referenced by Category(), and lldb_private::Timer::~Timer().

◆ m_next

std::atomic<Category *> lldb_private::Timer::Category::m_next
private

Definition at line 35 of file Timer.h.

Referenced by Category().


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