1 //===-- ThreadInfo.h -----------------------------------------------*- C++
2 //-*-===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10 
11 #ifndef __ThreadInfo_h__
12 #define __ThreadInfo_h__
13 
14 namespace ThreadInfo {
15 
16 class QoS {
17 public:
18   QoS() : constant_name(), printable_name(), enum_value(UINT32_MAX) {}
19   bool IsValid() { return enum_value != UINT32_MAX; }
20   std::string constant_name;
21   std::string printable_name;
22   uint32_t enum_value;
23 };
24 };
25 
26 #endif // __ThreadInfo_h__
27