NEURON
ftime.cpp File Reference
#include <../../nrnconf.h>
#include "hoc.h"
#include <time.h>

Go to the source code of this file.

Macros

#define Ret(a)   hoc_ret(); hoc_pushx(a);
 

Functions

double nrn_time (void)
 
void hoc_startsw (void)
 
void hoc_stopsw (void)
 
double nrn_timeus (void)
 

Variables

static time_t start_time =0
 
static time_t stop_time =1
 

Macro Definition Documentation

◆ Ret

#define Ret (   a)    hoc_ret(); hoc_pushx(a);

Definition at line 17 of file ftime.cpp.

Function Documentation

◆ hoc_startsw()

void hoc_startsw ( void  )

Definition at line 35 of file ftime.cpp.

◆ hoc_stopsw()

void hoc_stopsw ( void  )

Definition at line 39 of file ftime.cpp.

◆ nrn_time()

double nrn_time ( void  )

Definition at line 19 of file ftime.cpp.

◆ nrn_timeus()

double nrn_timeus ( void  )

Definition at line 61 of file ftime.cpp.

Variable Documentation

◆ start_time

time_t start_time =0
static

Definition at line 12 of file ftime.cpp.

◆ stop_time

time_t stop_time =1
static

Definition at line 13 of file ftime.cpp.