File tree Expand file tree Collapse file tree 4 files changed +72
-3
lines changed Expand file tree Collapse file tree 4 files changed +72
-3
lines changed Original file line number Diff line number Diff line change
1
+ # #
2
+ # Based upon https://github.com/google/benchmark
3
+ #
4
+ # Copyright 2015 Google Inc. All rights reserved.
5
+ # Copyright 2017 Valentin Churavy. All rights reserved.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ # #
19
+
1
20
const RUSAGE_SELF = Cint (0 )
2
21
const RUSAGE_CHILDREN = Cint (- 1 )
3
22
Original file line number Diff line number Diff line change 1
- #=
2
- Based upon https://github.com/google/benchmark
3
- =#
1
+ # #
2
+ # Copyright 2017 Valentin Churavy. All rights reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ # #
4
16
5
17
module Timers
6
18
import Compat
Original file line number Diff line number Diff line change
1
+ # #
2
+ # Based upon https://github.com/google/benchmark
3
+ #
4
+ # Copyright 2015 Google Inc. All rights reserved.
5
+ # Copyright 2017 Valentin Churavy. All rights reserved.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ # #
19
+
1
20
struct TimeSpec
2
21
tv_sec :: UInt64 # time_t
3
22
tv_nsec :: UInt64
Original file line number Diff line number Diff line change
1
+ # #
2
+ # Based upon https://github.com/google/benchmark
3
+ #
4
+ # Copyright 2015 Google Inc. All rights reserved.
5
+ # Copyright 2017 Valentin Churavy. All rights reserved.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ # #
19
+
1
20
"""
2
21
FileTime
3
22
You can’t perform that action at this time.
0 commit comments