Skip to content

Commit

Permalink
Merge pull request #13 from NilFoundation/12-fix-the-forgotten-namesp…
Browse files Browse the repository at this point in the history
…ace-in-placeholder_scoped_profilerhpp

Changing the namespaces in file placeholder_scoped_profiler.hpp, forgot last time.
  • Loading branch information
Zerg1996 authored Oct 2, 2023
2 parents 8200244 + 76fd1fc commit bd4e644
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
// SOFTWARE.
//---------------------------------------------------------------------------//

#ifndef CRYPTO3_PLACEHOLDER_SCOPED_PROFILER_HPP
#define CRYPTO3_PLACEHOLDER_SCOPED_PROFILER_HPP
#ifndef ACTOR_PLACEHOLDER_SCOPED_PROFILER_HPP
#define ACTOR_PLACEHOLDER_SCOPED_PROFILER_HPP

#include <chrono>
#include <unordered_map>
Expand Down Expand Up @@ -109,16 +109,16 @@ namespace nil {

#ifdef ZK_PLACEHOLDER_PROFILING_ENABLED
#define PROFILE_PLACEHOLDER_SCOPE(name) \
nil::crypto3::zk::snark::detail::placeholder_scoped_profiler profiler(name);
nil::actor::zk::nil::crypto3::zk::snark::detail::placeholder_scoped_profiler profiler(name);
#else
#define PROFILE_PLACEHOLDER_SCOPE(name)
#endif

#ifdef ZK_PLACEHOLDER_PROFILING_ENABLED
#define PROFILE_PLACEHOLDER_FUNCTION_CALLS() \
nil::crypto3::zk::snark::detail::placeholder_scoped_aggregate_profiler profiler(__PRETTY_FUNCTION__ );
nil::actor::zk::nil::crypto3::zk::snark::detail::placeholder_scoped_aggregate_profiler profiler(__PRETTY_FUNCTION__ );
#else
#define PROFILE_PLACEHOLDER_FUNCTION_CALLS()
#endif

#endif // CRYPTO3_PLACEHOLDER_SCOPED_PROFILER_HPP
#endif // ACTOR_PLACEHOLDER_SCOPED_PROFILER_HPP

0 comments on commit bd4e644

Please sign in to comment.