Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <timer.h>
Public Member Functions | |
WallTimer () | |
void | Reset () |
void | Start () |
When Start() is called multiple times, only the most recent is used. | |
void | Restart () |
void | Stop () |
double | Get () const |
int64_t | GetInMs () const |
int64_t | GetInUsec () const |
absl::Duration | GetDuration () const |
bool | IsRunning () const |
Protected Member Functions | |
int64_t | GetNanos () const |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
inline |