APM:Libraries
Macros | Functions | Variables
Perf.cpp File Reference
#include <inttypes.h>
#include <stdio.h>
#include <time.h>
#include <vector>
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include "AP_HAL_Linux.h"
#include "Util.h"
#include "Perf.h"
#include "Perf_Lttng.h"
Include dependency graph for Perf.cpp:

Go to the source code of this file.

Macros

#define PRIu64   "llu"
 

Functions

static uint64_t now_nsec ()
 

Variables

static const AP_HAL::HALhal = AP_HAL::get_HAL()
 

Macro Definition Documentation

◆ PRIu64

#define PRIu64   "llu"

Definition at line 31 of file Perf.cpp.

Referenced by Linux::Perf::_debug_counters().

Function Documentation

◆ now_nsec()

static uint64_t now_nsec ( )
inlinestatic

Definition at line 40 of file Perf.cpp.

Referenced by Linux::Perf::begin(), and Linux::Perf::end().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ hal

const AP_HAL::HAL& hal = AP_HAL::get_HAL()
static

Definition at line 36 of file Perf.cpp.