hadean::metrics::resource_diff Class Reference

#include <metrics.hh>

Public Member Functions

double on_cpu () const
 
double off_cpu () const
 
double total () const
 
nlohmann::json to_json () const
 

Friends

class resource_instant
 

Member Function Documentation

double hadean::metrics::resource_diff::off_cpu ( ) const
inline
double hadean::metrics::resource_diff::on_cpu ( ) const
inline
nlohmann::json hadean::metrics::resource_diff::to_json ( ) const
inline
double hadean::metrics::resource_diff::total ( ) const
inline

Friends And Related Function Documentation

friend class resource_instant
friend