timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
filepath.hpp File Reference
#include "timemory/macros/os.hpp"
#include "timemory/utility/launch_process.hpp"
#include "timemory/utility/types.hpp"
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
+ Include dependency graph for filepath.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tim
 
namespace  tim::filepath
 

Macros

#define TIMEMORY_DEFAULT_UMASK   0777
 

Functions

int tim::filepath::makedir (std::string _dir, int umask=0777)
 
std::string & tim::filepath::replace (std::string &_path, char _c, const char *_v)
 
std::string & tim::filepath::replace (std::string &_path, const char *_c, const char *_v)
 
std::string tim::filepath::canonical (std::string _path)
 
template<typename... Args>
bool tim::filepath::open (std::ofstream &_ofs, std::string _fpath, Args &&... _args)
 

Detailed Description

Functions for converting OS filepaths

Definition in file filepath.hpp.

Macro Definition Documentation

◆ TIMEMORY_DEFAULT_UMASK

#define TIMEMORY_DEFAULT_UMASK   0777

Definition at line 55 of file filepath.hpp.