SDSL: Succinct Data Structure Library
A C++ template library for succinct data structures
 All Classes Namespaces Files Functions Variables Typedefs Friends
Classes | Namespaces | Functions
sdsl/include/sdsl/testutils.hpp File Reference

testutils.hpp contains a "stopwatch" class for performance meassurement of program pieces. More...

#include "util.hpp"
#include "uintx_t.hpp"
#include <sys/time.h>
#include <sys/resource.h>
#include <iomanip>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  sdsl::stop_watch
 A helper class to meassure the time consumption of program pieces. More...
class  sdsl::clock
 A helper class to get time information. More...
class  sdsl::file
 A helper class to handle files. More...

Namespaces

namespace  sdsl
 Namespace for the succinct data structure library.

Functions

void sdsl::write_R_output (std::string data_structure, std::string action, std::string state="begin", uint64_t times=1, uint64_t check=0)
 Write stopwatch output in readable format.
off_t sdsl::get_file_size (const char *file_name)
 Get the size of a file in bytes.

Detailed Description

testutils.hpp contains a "stopwatch" class for performance meassurement of program pieces.

Author:
Simon Gog