Dash Core  0.12.2.1
P2P Digital Currency
Examples.cpp File Reference
#include "bench.h"
#include "validation.h"
#include "utiltime.h"
#include <math.h>

Go to the source code of this file.

Functions

static void Sleep100ms (benchmark::State &state)
 
 BENCHMARK (Sleep100ms)
 
static void Trig (benchmark::State &state)
 
 BENCHMARK (Trig)
 

Variables

volatile double sum = 0.0
 

Function Documentation

◆ BENCHMARK() [1/2]

BENCHMARK ( Sleep100ms  )

◆ BENCHMARK() [2/2]

BENCHMARK ( Trig  )

◆ Sleep100ms()

static void Sleep100ms ( benchmark::State state)
static

Definition at line 11 of file Examples.cpp.

◆ Trig()

static void Trig ( benchmark::State state)
static

Definition at line 25 of file Examples.cpp.

Variable Documentation

◆ sum

volatile double sum = 0.0