Apache Mesos
Functions
perf Namespace Reference

Functions

process::Future< hashmap< std::string, mesos::PerfStatistics > > sample (const std::set< std::string > &events, const std::set< std::string > &cgroups, const Duration &duration)
 
bool valid (const std::set< std::string > &events)
 
bool supported ()
 
process::Future< Versionversion ()
 
Try< VersionparseVersion (const std::string &output)
 
Try< hashmap< std::string, mesos::PerfStatistics > > parse (const std::string &output)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...
 

Function Documentation

Try<hashmap<std::string, mesos::PerfStatistics> > perf::parse ( const std::string &  s)
inline

Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string.

Parses Roles from text in the form "role1,role2,role3".

Try<Version> perf::parseVersion ( const std::string &  output)
process::Future<hashmap<std::string, mesos::PerfStatistics> > perf::sample ( const std::set< std::string > &  events,
const std::set< std::string > &  cgroups,
const Duration duration 
)
bool perf::supported ( )
bool perf::valid ( const std::set< std::string > &  events)
process::Future<Version> perf::version ( )
inline