Parent Directory | Revision Log
* NKSP: Introducing 64 bit support for NKSP integer scripts variables (declare $foo). * Require C++11 compiler support. * Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used for checking in configure for C++11 support (as mandatory requirement) and automatically adds compiler argument if required (e.g. -std=C++11). * Bumped version (2.1.1.svn3).
1 | /* |
2 | * Copyright (c) 2016 - 2019 Christian Schoenebeck |
3 | * |
4 | * http://www.linuxsampler.org |
5 | * |
6 | * This file is part of LinuxSampler and released under the same terms. |
7 | * See README file for details. |
8 | */ |
9 | |
10 | #include "CoreVMDynVars.h" |
11 | |
12 | #include "tree.h" |
13 | #include "ScriptVM.h" |
14 | #include "../common/RTMath.h" |
15 | |
16 | namespace LinuxSampler { |
17 | |
18 | vmint CoreVMDynVar_NKSP_REAL_TIMER::evalInt() { |
19 | return (vmint) RTMath::unsafeMicroSeconds(RTMath::real_clock); |
20 | } |
21 | |
22 | vmint CoreVMDynVar_NKSP_PERF_TIMER::evalInt() { |
23 | return (vmint) RTMath::unsafeMicroSeconds(RTMath::thread_clock); |
24 | } |
25 | |
26 | } // namespace LinuxSampler |
ViewVC Help | |
Powered by ViewVC |