Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memory instrumentation support #197

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Move RB Support in a separate folder.
vgvassilev committed Dec 3, 2020
commit 3fb22a8d15ee82c0c5b5a79ce5fa60ba6d67db6f
7 changes: 4 additions & 3 deletions include/rootbench/RBConfig.h
Original file line number Diff line number Diff line change
@@ -2,12 +2,13 @@
#ifndef RB_CONFIG_H
#define RB_CONFIG_H

#include <stdlib.h>

#include "rootbench/ErrorHandling.h"
#include "rootbench/Support/ErrorHandling.h"
#include <rootbench/Constants.h> // RB::kDatasetDirectory

#include <string>

#include <stdlib.h>

namespace RB {
/// Returns a path to temporary file system (preferably in-memory). The path
/// is set in the RB_TEMP_FS environment variable.
File renamed without changes.
6 changes: 2 additions & 4 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
RB_ADD_LIBRARY(RBSupport
ErrorHandling.cxx
)
target_include_directories(RBSupport PUBLIC ${PROJECT_BINARY_DIR}/include ${PROJECT_SOURCE_DIR}/include)
#---Add the support libraries.
add_subdirectory(Support)
3 changes: 3 additions & 0 deletions lib/Support/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
RB_ADD_LIBRARY(RBSupport
ErrorHandling.cxx
)
2 changes: 1 addition & 1 deletion lib/ErrorHandling.cxx → lib/Support/ErrorHandling.cxx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///\file Contains utilities to handle error situations.

#include "rootbench/ErrorHandling.h"
#include "rootbench/Support/ErrorHandling.h"

#include <iostream>