EtherCAT Control Framework v0.9
Implementation of EtherCAT protocol using IgH EtherCAT library for robot controller.
Timing Class Reference

#include <timing.hpp>

Public Member Functions

void GetTime ()
 
void MeasureTimeDifference ()
 
void OutInfoToFile ()
 
void GetTime ()
 
void MeasureTimeDifference ()
 
void OutInfoToFile ()
 

Public Attributes

std::chrono::high_resolution_clock::time_point timer_start_
 
std::chrono::high_resolution_clock::time_point last_start_time_
 
std::chrono::duration< long, std::micro > time_span
 
std::vector< long > timing_info_ = std::vector<long>(NUMBER_OF_SAMPLES)
 
uint32_t counter_ = 0
 

Member Function Documentation

◆ GetTime() [1/2]

void Timing::GetTime ( )

◆ GetTime() [2/2]

void Timing::GetTime ( )

◆ MeasureTimeDifference() [1/2]

void Timing::MeasureTimeDifference ( )

◆ MeasureTimeDifference() [2/2]

void Timing::MeasureTimeDifference ( )

◆ OutInfoToFile() [1/2]

void Timing::OutInfoToFile ( )

◆ OutInfoToFile() [2/2]

void Timing::OutInfoToFile ( )

Member Data Documentation

◆ counter_

uint32_t Timing::counter_ = 0

◆ last_start_time_

std::chrono::high_resolution_clock::time_point Timing::last_start_time_

◆ time_span

std::chrono::duration< long, std::micro > Timing::time_span

◆ timer_start_

std::chrono::high_resolution_clock::time_point Timing::timer_start_

◆ timing_info_

std::vector< long > Timing::timing_info_ = std::vector<long>(NUMBER_OF_SAMPLES)

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