SST 15.0
Structural Simulation Toolkit
cputimer.h
1// Copyright 2009-2025 NTESS. Under the terms
2// of Contract DE-NA0003525 with NTESS, the U.S.
3// Government retains certain rights in this software.
4//
5// Copyright (c) 2009-2025, NTESS
6// All rights reserved.
7//
8// This file is part of the SST software package. For license
9// information, see the LICENSE file in the top level directory of the
10// distribution.
11
12#ifndef SST_CORE_CPU_TIMER_H
13#define SST_CORE_CPU_TIMER_H
14
15#include <sys/time.h>
16
17/**
18 * @return Current CPU time using the time of day. Timezone information is not filled.
19 */
20double sst_get_cpu_time();
21
22#endif // SST_CORE_CPU_TIMER_H