# CFX::PROFILER_ENTER_SCOPE

- **Hash:** `0xC795A4A9`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `ProfilerEnterScope`
- **Side:** shared (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/PROFILER_ENTER_SCOPE

## Signature

```c
void PROFILER_ENTER_SCOPE(char* scopeName);
```

## Parameters

- `scopeName` (`char*`) — Scope name.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Scope entry for profiler.

## Usage

### Lua

```lua
ProfilerEnterScope(scopeName)

-- always available, by hash
Citizen.InvokeNative(0xc795a4a9, scopeName)
```

### JavaScript

```js
ProfilerEnterScope(scopeName);

// by hash
Citizen.invokeNative('0xc795a4a9', scopeName);
```

### C#

```csharp
Function.Call((Hash)0xc795a4a9, scopeName);
```

*Sources: Cfx.re native reference.*
