ittapi-sys 0.5.0

Rust bindings for ittapi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
pt_region.py - Python module wrapper for process trace control region(PT_Region)
"""

from ittapi.native import PT_Region as _PT_Region

def pt_region_create(name):
    """
    This function saves a region name marked with Intel PT API and returns a handle for the created region with the given name.
    :param name: a name for the region, this name can't be empty
    :return: a handle for the created region with the given name
    """
    return _PT_Region(name)