Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALInference 4.1.9.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALInferenceBench.c File Reference

Prototypes

void fprintf_bench (FILE *fp, struct rusage start, struct rusage end, UINT4 Niter)
 
void LALInferenceTemplateNoop (UNUSED LALInferenceModel *model)
 
void bench_likelihood (LALInferenceRunState *runState, UINT4 Niter)
 
void bench_template (LALInferenceRunState *runState, UINT4 Niter)
 
int main (int argc, char *argv[])
 

Go to the source code of this file.

Variables

const char HELPSTR []
 

Function Documentation

◆ fprintf_bench()

void fprintf_bench ( FILE *  fp,
struct rusage  start,
struct rusage  end,
UINT4  Niter 
)

Definition at line 50 of file LALInferenceBench.c.

◆ LALInferenceTemplateNoop()

void LALInferenceTemplateNoop ( UNUSED LALInferenceModel model)

Definition at line 63 of file LALInferenceBench.c.

◆ bench_likelihood()

void bench_likelihood ( LALInferenceRunState runState,
UINT4  Niter 
)

Definition at line 69 of file LALInferenceBench.c.

◆ bench_template()

void bench_template ( LALInferenceRunState runState,
UINT4  Niter 
)

Definition at line 93 of file LALInferenceBench.c.

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 107 of file LALInferenceBench.c.

Variable Documentation

◆ HELPSTR

const char HELPSTR[]
Initial value:
=
"lalinference_bench: Benchmark template and likelihood functions.\n\
Options:\n\
--Niter : Number of calls to time (delfault 1000) \n\
--bench-template : Only benchmark template function\n\
--bench-likelihood : Only benchmark likelihood function\n\
(defaults to benchmarking both)\n\
Example (for 1.0-1.0 binary with seglen 8, srate 4096): \n\
$ ./lalinference_bench --psdlength 1000 --psdstart 1 --seglen 8 --srate 4096 --trigtime 0 --ifo H1 --H1-channel LALSimAdLIGO --H1-cache LALSimAdLIGO --dataseed 1324 --Niter 10000 --fix-chirpmass 1.218 --fix-q 1.0\n\n\n\
"

Definition at line 38 of file LALInferenceBench.c.