LLVM: include/llvm/Support/Duration.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14#ifndef LLVM_SUPPORT_DURATION_H

15#define LLVM_SUPPORT_DURATION_H

16

17#include

18

19namespace llvm {

21 std::chrono::milliseconds Value;

22 public:

23 Duration(std::chrono::milliseconds Value) : Value(Value) {}

24 std::chrono::milliseconds getDuration() const { return Value; }

25};

26}

27

28#endif

Duration(std::chrono::milliseconds Value)

Definition Duration.h:23

std::chrono::milliseconds getDuration() const

Definition Duration.h:24

This is an optimization pass for GlobalISel generic memory operations.