Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
profiling.cpp File Reference
#include <cassert>
#include <chrono>
#include <cstdio>
#include <ctime>
#include <list>
#include <stdexcept>
#include <vector>
#include <libff/common/default_types/ec_pp.hpp>
#include <libff/common/profiling.hpp>
#include <libff/common/utils.hpp>
#include <proc/readproc.h>
Include dependency graph for profiling.cpp:

Go to the source code of this file.

Namespaces

namespace  libff
 

Functions

long long libff::get_nsec_time ()
 
long long libff::get_nsec_cpu_time ()
 
void libff::start_profiling ()
 
void libff::clear_profiling_counters ()
 
void libff::print_cumulative_time_entry (const std::string &key, const long long factor)
 
void libff::print_cumulative_times (const long long factor)
 
void libff::print_cumulative_op_counts (const bool only_fq)
 
void libff::print_op_profiling (const std::string &msg)
 
void libff::print_time (const char *msg)
 
void libff::print_header (const char *msg)
 
void libff::print_indent ()
 
void libff::op_profiling_enter (const std::string &msg)
 
void libff::enter_block (const std::string &msg, const bool indent)
 
void libff::leave_block (const std::string &msg, const bool indent)
 
void libff::print_mem (const std::string &s)
 
void libff::print_compilation_info ()
 

Variables

long long libff::start_time
 
long long libff::last_time
 
long long libff::start_cpu_time
 
long long libff::last_cpu_time
 
std::map< std::string, size_t > libff::invocation_counts
 
std::map< std::string, long long > libff::enter_times
 
std::map< std::string, long long > libff::last_times
 
std::map< std::string, long long > libff::cumulative_times
 
std::map< std::string, long long > libff::enter_cpu_times
 
std::map< std::string, long long > libff::last_cpu_times
 
std::map< std::pair< std::string, std::string >, long long > libff::op_counts
 
std::map< std::pair< std::string, std::string >, long long > libff::cumulative_op_counts
 
size_t libff::indentation = 0
 
std::vector< std::string > libff::block_names
 
std::list< std::pair< std::string, long long * > > libff::op_data_points
 
bool libff::inhibit_profiling_info = false
 
bool libff::inhibit_profiling_counters = false
 

Detailed Description

Implementation of functions for profiling code blocks.

See profiling.hpp .

Author
This file is part of libff, developed by SCIPR Lab and contributors (see AUTHORS).

Definition in file profiling.cpp.