#include <Basics.H>
#include <BufStream.H>
#include <FS.H>
#include <iomanip>
#include "logging.H"
#include "lock_timing.H"
#include "VRConcurrency.H"
#include <stdio.h>
#include <sys/time.h>
#include <assert.h>
Go to the source code of this file.
Defines | |
#define | TIMING_RECORDER_BUF_SIZE 32768 |
#define | USECS_PER_SEC 1000000 |
Enumerations | |
enum | which_lock_t { stable, volatileRoot, userGroup } |
Functions | |
void | rwlock_acquire_read_start (ReadersWritersLock *lock_p) |
void | rwlock_acquire_read_done (ReadersWritersLock *lock_p, bool failed) |
void | rwlock_acquire_write_start (ReadersWritersLock *lock_p) |
void | rwlock_acquire_write_done (ReadersWritersLock *lock_p, bool failed) |
void | rwlock_release_start (ReadersWritersLock *lock_p) |
void | rwlock_release_done (ReadersWritersLock *lock_p) |
void | rwlock_locked_reason (ReadersWritersLock *lock_p, const char *reason) |
void | rwlock_timing_control (bool enable) |
Variables | |
ReadersWritersLock | userGroup_lock |
Basics::mutex | popen_mu |
|
Definition at line 46 of file lock_timing.C. Referenced by Lock_Timing_Recorder::acquire_read_start(), Lock_Timing_Recorder::acquire_write_start(), Lock_Timing_Recorder::locked_reason(), and Lock_Timing_Recorder::write_delta_record(). |
|
|
Definition at line 48 of file lock_timing.C. |
|
Definition at line 270 of file lock_timing.C. References Lock_Timing_Recorder::acquire_read_done(). |
|
Definition at line 254 of file lock_timing.C. References Lock_Timing_Recorder::acquire_read_start(). |
|
Definition at line 302 of file lock_timing.C. References Lock_Timing_Recorder::acquire_write_done(). |
|
Definition at line 286 of file lock_timing.C. References Lock_Timing_Recorder::acquire_write_start(). |
|
Definition at line 350 of file lock_timing.C. References Lock_Timing_Recorder::locked_reason(). |
|
Definition at line 334 of file lock_timing.C. References Lock_Timing_Recorder::release_done(). |
|
Definition at line 318 of file lock_timing.C. References Lock_Timing_Recorder::release_start(). |
|
Definition at line 366 of file lock_timing.C. |
|
|
|