MNE-CPP  0.1.9
A Framework for Electrophysiology
Classes | Macros
mnetracer.h File Reference

Declaration of a MNETracer object. This class allows a user to easily measure executions times of a function or a block of code, and formats the output so that it is compatible with Chrome Tracer application. More...

#include "utils_global.h"
#include <iostream>
#include <fstream>
#include <string>
#include <chrono>
#include <thread>
#include <mutex>
Include dependency graph for mnetracer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UTILSLIB::MNETracer
 

Macros

#define MNE_TRACE()
 
#define MNE_TRACER_ENABLE(FILENAME)
 
#define MNE_TRACER_DISABLE
 
#define MNE_TRACE_VALUE()
 
#define MNE_TRACE_MEMORY_REPORT
 

Detailed Description

Declaration of a MNETracer object. This class allows a user to easily measure executions times of a function or a block of code, and formats the output so that it is compatible with Chrome Tracer application.

Author
Juan GPC jgarc.nosp@m.iapr.nosp@m.ietoh.nosp@m.@mgh.nosp@m..harv.nosp@m.ard..nosp@m.edu;
Since
0.1.9
Date
May 18, 2021

LICENSE

Copyright (C) 2021, Juan Garcia-Prieto. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file mnetracer.h.