> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/gym/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/gym/_mcp/server.

# nemo_gym.profiling

## Module Contents

### Classes

| Name                                       | Description |
| ------------------------------------------ | ----------- |
| [`Profiler`](#nemo_gym-profiling-Profiler) | -           |

### Functions

| Name                                                           | Description |
| -------------------------------------------------------------- | ----------- |
| [`_require_gprof2dot`](#nemo_gym-profiling-_require_gprof2dot) | -           |

### API

```python
class nemo_gym.profiling.Profiler()
```

**Bases:** `BaseModel`

**`base_profile_dir`** `Path`

---

**`name`** `str`

---

**`required_str`** `Optional[str] = None`

---

```python
nemo_gym.profiling.Profiler._check_for_dot_installation() -> None
```

```python
nemo_gym.profiling.Profiler.dump() -> None
```

```python
nemo_gym.profiling.Profiler.model_post_init(
    context
)
```

```python
nemo_gym.profiling.Profiler.start() -> None
```

```python
nemo_gym.profiling.Profiler.stop() -> None
```

```python
nemo_gym.profiling._require_gprof2dot() -> collections.abc.Callable[..., None]
```