Seismo-VLAB  1.3
An Open-Source Finite Element Software for Meso-Scale Simulations
Profiler.hpp File Reference

This file contains the "Profiler object" declarations to compute how long it takes for a program to be executed, and sequentially measures the time of Execution of each function. More...

#include <omp.h>
#include <string>
#include <thread>
#include <chrono>
#include <algorithm>
#include <fstream>
#include <sstream>
#include "Definitions.hpp"
Include dependency graph for Profiler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ProfileResult
 Structure that holds profiling parameters. More...
 
struct  InstrumentationSession
 Structure that holds function name to be profile. More...
 
class  Profiler
 Class that creates a JSON file with the time of execution of each function, files can be open at chrome://tracing/. More...
 
class  Timer
 Class that compute how long it takes for a program to be executed, and sequentially measures the time of execution of each function. More...
 

Macros

#define PROFILE_FUNCTION()
 

Detailed Description

This file contains the "Profiler object" declarations to compute how long it takes for a program to be executed, and sequentially measures the time of Execution of each function.

Author
The Cherno (https://www.patreon.com/thecherno)
Date
July 2, 2018
Version
1.0

Macro Definition Documentation

◆ PROFILE_FUNCTION

#define PROFILE_FUNCTION ( )