Apache Mesos
Namespaces | Functions
perf.hpp File Reference
#include <unistd.h>
#include <set>
#include <string>
#include <process/future.hpp>
#include <stout/duration.hpp>
#include <stout/hashmap.hpp>
#include <stout/version.hpp>
#include "mesos/mesos.hpp"

Go to the source code of this file.




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::valid (const std::set< std::string > &events)
bool perf::supported ()
process::Future< Versionperf::version ()
Try< Versionperf::parseVersion (const std::string &output)
Try< hashmap< std::string,
mesos::PerfStatistics > > 
perf::parse (const std::string &output)
 Returns the OCI v1 descriptor, image index, image manifest and image configuration from the given string. More...