Skip to content

Commit 2325a8c

Browse files
nrspruitlisanna-dettwyler
authored andcommitted
Fix metric types for new experimental types
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 331ba03 commit 2325a8c

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

include/ze.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file ze.py
7-
@version v1.11-r1.11.4
7+
@version v1.11-r1.11.5
88
99
"""
1010
import platform

include/ze_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file ze_api.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZE_API_H

include/ze_ddi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file ze_ddi.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZE_DDI_H

include/zes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file zes.py
7-
@version v1.11-r1.11.4
7+
@version v1.11-r1.11.5
88
99
"""
1010
import platform

include/zes_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zes_api.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZES_API_H

include/zes_ddi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zes_ddi.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZES_DDI_H

include/zet.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file zet.py
7-
@version v1.11-r1.11.4
7+
@version v1.11-r1.11.5
88
99
"""
1010
import platform
@@ -417,16 +417,16 @@ class zet_metric_type_v(IntEnum):
417417
FLAG = 5 ## Metric type: flag
418418
RATIO = 6 ## Metric type: ratio
419419
RAW = 7 ## Metric type: raw
420-
IP_EXP = 8 ## Metric type: instruction pointer. Deprecated, use
421-
## ::ZET_METRIC_TYPE_IP.
422-
IP = 9 ## Metric type: instruction pointer
423-
EVENT_EXP_TIMESTAMP = 10 ## Metric type: event with only timestamp and value has no meaning
424-
EVENT_EXP_START = 11 ## Metric type: the first event of a start/end event pair
425-
EVENT_EXP_END = 12 ## Metric type: the second event of a start/end event pair
426-
EXPORT_DMA_BUF = 0x7ffffffd ## Metric which exports linux dma_buf, which could be imported/mapped to
427-
## the host process
428-
EVENT_EXP_MONOTONIC_WRAPS_VALUE = 0x7ffffffe ## Metric type: value of the event is a monotonically increasing value
420+
EVENT_EXP_TIMESTAMP = 0x7ffffff9 ## Metric type: event with only timestamp and value has no meaning
421+
EVENT_EXP_START = 0x7ffffffa ## Metric type: the first event of a start/end event pair
422+
EVENT_EXP_END = 0x7ffffffb ## Metric type: the second event of a start/end event pair
423+
EVENT_EXP_MONOTONIC_WRAPS_VALUE = 0x7ffffffc ## Metric type: value of the event is a monotonically increasing value
429424
## that can wrap around
425+
EXP_EXPORT_DMA_BUF = 0x7ffffffd ## Metric which exports linux dma_buf, which could be imported/mapped to
426+
## the host process
427+
IP_EXP = 0x7ffffffe ## Metric type: instruction pointer. Deprecated, use
428+
## ::ZET_METRIC_TYPE_IP.
429+
IP = 0x7ffffffe ## Metric type: instruction pointer
430430

431431
class zet_metric_type_t(c_int):
432432
def __str__(self):

include/zet_api.h

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zet_api.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZET_API_H
@@ -1012,16 +1012,16 @@ typedef enum _zet_metric_type_t
10121012
ZET_METRIC_TYPE_FLAG = 5, ///< Metric type: flag
10131013
ZET_METRIC_TYPE_RATIO = 6, ///< Metric type: ratio
10141014
ZET_METRIC_TYPE_RAW = 7, ///< Metric type: raw
1015-
ZET_METRIC_TYPE_IP_EXP = 8, ///< Metric type: instruction pointer. Deprecated, use
1016-
///< ::ZET_METRIC_TYPE_IP.
1017-
ZET_METRIC_TYPE_IP = 9, ///< Metric type: instruction pointer
1018-
ZET_METRIC_TYPE_EVENT_EXP_TIMESTAMP = 10, ///< Metric type: event with only timestamp and value has no meaning
1019-
ZET_METRIC_TYPE_EVENT_EXP_START = 11, ///< Metric type: the first event of a start/end event pair
1020-
ZET_METRIC_TYPE_EVENT_EXP_END = 12, ///< Metric type: the second event of a start/end event pair
1021-
ZET_METRIC_TYPE_EXPORT_DMA_BUF = 0x7ffffffd, ///< Metric which exports linux dma_buf, which could be imported/mapped to
1022-
///< the host process
1023-
ZET_METRIC_TYPE_EVENT_EXP_MONOTONIC_WRAPS_VALUE = 0x7ffffffe, ///< Metric type: value of the event is a monotonically increasing value
1015+
ZET_METRIC_TYPE_EVENT_EXP_TIMESTAMP = 0x7ffffff9, ///< Metric type: event with only timestamp and value has no meaning
1016+
ZET_METRIC_TYPE_EVENT_EXP_START = 0x7ffffffa, ///< Metric type: the first event of a start/end event pair
1017+
ZET_METRIC_TYPE_EVENT_EXP_END = 0x7ffffffb, ///< Metric type: the second event of a start/end event pair
1018+
ZET_METRIC_TYPE_EVENT_EXP_MONOTONIC_WRAPS_VALUE = 0x7ffffffc, ///< Metric type: value of the event is a monotonically increasing value
10241019
///< that can wrap around
1020+
ZET_METRIC_TYPE_EXP_EXPORT_DMA_BUF = 0x7ffffffd, ///< Metric which exports linux dma_buf, which could be imported/mapped to
1021+
///< the host process
1022+
ZET_METRIC_TYPE_IP_EXP = 0x7ffffffe, ///< Metric type: instruction pointer. Deprecated, use
1023+
///< ::ZET_METRIC_TYPE_IP.
1024+
ZET_METRIC_TYPE_IP = 0x7ffffffe, ///< Metric type: instruction pointer
10251025
ZET_METRIC_TYPE_FORCE_UINT32 = 0x7fffffff
10261026

10271027
} zet_metric_type_t;

include/zet_ddi.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zet_ddi.h
8-
* @version v1.11-r1.11.4
8+
* @version v1.11-r1.11.5
99
*
1010
*/
1111
#ifndef _ZET_DDI_H

0 commit comments

Comments
 (0)