Skip to content

Commit

Permalink
include
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Apr 5, 2024
1 parent 1858f6c commit 7f4c2cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/parallel/bbs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

extern int nrn_global_argc;
extern char** nrn_global_argv;
extern double nrn_timeus();

bool BBSImpl::is_master_ = false;
bool BBSImpl::started_ = false;
Expand Down Expand Up @@ -121,7 +122,11 @@ double BBS::time() {
}

double BBSImpl::time() {
#if NRNMPI
return nrnmpi_wtime();
#else
return nrn_timeus();
#endif
}

double BBS::wait_time() {
Expand Down

0 comments on commit 7f4c2cb

Please sign in to comment.