# ProfilerWindow

> The Profiler window that the module instance belongs to.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Profiling.Editor](/engine/6000.5/script-reference/unity/profiling/editor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected ProfilerWindow ProfilerWindow { get; }
```

### Remarks

Use this property to construct a [ProfilerModuleViewController](/engine/6000.5/script-reference/unity/profiling/editor/profilermoduleviewcontroller.md) while overriding [ProfilerModule.CreateDetailsViewController](/engine/6000.5/script-reference/unity/profiling/editor/profilermodule/createdetailsviewcontroller.md). You can also use this property to subscribe to Profiler window events, such as [ProfilerWindow.SelectedFrameIndexChanged](/engine/6000.5/script-reference/unityeditor/profilerwindow/selectedframeindexchanged.md).

A [ProfilerWindow](/engine/6000.5/script-reference/unityeditor/profilerwindow.md). Read-only.

Additional Resources: [ProfilerWindow.SelectedFrameIndexChanged](/engine/6000.5/script-reference/unityeditor/profilerwindow/selectedframeindexchanged.md), [ProfilerModule.CreateDetailsViewController](/engine/6000.5/script-reference/unity/profiling/editor/profilermodule/createdetailsviewcontroller.md), [ProfilerModuleViewController](/engine/6000.5/script-reference/unity/profiling/editor/profilermoduleviewcontroller.md).
