# Profiler View

## Overview

The **Profiler** allows to analyze the performance of blocks of **Nodes** in the **Logic**, which we call **Profiler Blocks**. These **Profiler Blocks** have to be set in the **Logic Editor** by using the **Profiler Start** and **Profiler Stop** **Nodes**.

![](/files/-Mj95F1_reiLkEEeWNnw)

For capturing with the **Profiler**, the **Project** simulation must be playing and the **Profiler** has to be connected with it via the port that has been set in the **Project Settings**.

Once the **Profiler** is connected, it allows to start and stop capturing with the buttons on the **Form** toolbar. After a capture has ended, its timeline is shown on the **Diagram** and there the **Profiler Blocks** can be selected. Their data will then appear on the **Stats** panel.

![](/files/-Mj95F1ew1fK4MqLPzqe)

The **Profiler** window consists of four panels (**Form**, **Diagram**, **Stats**, **FPS Monitor**), which are explained in detail below. These panels can be shown or hidden by right-clicking on the top bar of any of them and selecting or deselecting them from the drop-down Menu that appears.

## Form

The **Form** toolbar has buttons for configuring the connection of the **Profiler**, starting, stopping, and saving a capture, and customizing the view of the rest of the panels.

![](/files/-Mj95F1gz-WM9TLHYpxv)

## Diagram

The **Diagram** shows the timeline with the capture. It is possible to zoom in and out by scrolling and move through the timeline by clicking and dragging.

![](/files/-Mj95F1hrrJfCh35pvFj)

For selecting a **Block** or a time range to learns its statistics, use the right-click button. For a time range, right-click somewhere in the timeline and drag over the desired range.

After a selection has been made, the statistics of the included **Blocks** appear in the **Stats** panel.

![](/files/-MjRHjzyRbhQfilTU9Mx)

## Stats

The **Stats** panel shows the data collected for the blocks selected in the **Diagram**.

![](/files/-Mj95F1iaA6yzZFlyMv2)

Right-clicking on a block opens a drop-down Menu with the viewing options, including `Select Columns`, which allows to select which columns are shown on the stats table.

![](/files/-MjRHk--l9Fa77y8rfSG)

## FPS Monitor

The **FPS Monitor** shows the frame rate of the player in real time when the **Profiler** is connected.

![](/files/-Mj95F1jx8niJkn0yuHr)

## See Also

* [**Logic Editor**](/incari-studio/2021.3/modules/logic-editor.md)
* [**Profiler Start**](/incari-studio/2021.3/toolbox/development/profiler-start.md)
* [**Profiler Stop**](/incari-studio/2021.3/toolbox/development/profiler-stop.md)
* [**Project Settings**](/incari-studio/2021.3/modules/project-settings.md#profiler)

## External Links

* [*Profiling (computer programming)*](https://en.wikipedia.org/wiki/Profiling_%28computer_programming%29) on Wikipedia.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2021.3/modules/profiler-view.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
