Open Paraver windows at (100,100) instead of (0,0)

In Mac OS, the top menu bar is placed above any window, causing the
timelines being opened at (0,0) appear under it in such a way that the
timeline title bar is not reachable by the mouse, making it hard to
move.

This simple solution opens the windows a bit away from the top left
corner, at (100,100).

Fixes: https://pm.bsc.es/gitlab/rarias/ovni/-/issues/180
This commit is contained in:
Rodrigo Arias 2024-03-28 10:44:55 +01:00
parent bd629136ef
commit bf3165af8b
45 changed files with 93 additions and 88 deletions

View File

@ -16,6 +16,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`nosv_mutex_unlock` events VA{lLtTuU}. `nosv_mutex_unlock` events VA{lLtTuU}.
- Add support for the `nosv_barrier_event` event VA{bB}. - Add support for the `nosv_barrier_event` event VA{bB}.
### Fixed
- Open Paraver windows at (100,100) instead of (0,0) to avoid them appearing
under the menu bar in Mac OS.
## [1.8.0] - 2024-03-18 ## [1.8.0] - 2024-03-18
### Added ### Added

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Context switches of the RUNNING thread window_name CPU: Context switches of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: MPI function of the RUNNING thread window_name CPU: MPI function of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 Runtime/Idle/Task breakdown window_name CPU: Nanos6 Runtime/Idle/Task breakdown
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 idle state of the RUNNING thread window_name CPU: Nanos6 idle state of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 task MPI rank of the RUNNING thread window_name CPU: Nanos6 task MPI rank of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 subsystem of the RUNNING thread window_name CPU: Nanos6 subsystem of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 task ID of the RUNNING thread window_name CPU: Nanos6 task ID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 task type of the RUNNING thread window_name CPU: Nanos6 task type of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Nanos6 thread type of the RUNNING thread window_name CPU: Nanos6 thread type of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: NODES subsystem of the RUNNING thread window_name CPU: NODES subsystem of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V task body ID of the RUNNING thread window_name CPU: nOS-V task body ID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V subsystem of the RUNNING thread window_name CPU: nOS-V subsystem of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V task AppID of the RUNNING thread window_name CPU: nOS-V task AppID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V TaskID of the RUNNING thread window_name CPU: nOS-V TaskID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V task rank+1 of the RUNNING thread window_name CPU: nOS-V task rank+1 of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: nOS-V task type of the RUNNING thread window_name CPU: nOS-V task type of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: OpenMP subsystem of the RUNNING thread window_name CPU: OpenMP subsystem of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Flushing state of the RUNNING thread window_name CPU: Flushing state of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: Number of RUNNING threads window_name CPU: Number of RUNNING threads
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: PID of the RUNNING thread window_name CPU: PID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: TID of the RUNNING thread window_name CPU: TID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: TAMPI subsystem of the RUNNING thread window_name CPU: TAMPI subsystem of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Context switches of the CURRENT thread window_name Thread: Context switches of the CURRENT thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: MPI function of the RUNNING thread window_name Thread: MPI function of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 idle state window_name Thread: Nanos6 idle state
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 task MPI rank of the RUNNING thread window_name Thread: Nanos6 task MPI rank of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 subsystem of the ACTIVE thread window_name Thread: Nanos6 subsystem of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 task ID of the RUNNING thread window_name Thread: Nanos6 task ID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 task type of the RUNNING thread window_name Thread: Nanos6 task type of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Nanos6 thread type window_name Thread: Nanos6 thread type
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled false window_comm_lines_enabled false

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: NODES subsystem of the ACTIVE thread window_name Thread: NODES subsystem of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V task body ID of the RUNNING thread window_name Thread: nOS-V task body ID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V subsystem of the ACTIVE thread window_name Thread: nOS-V subsystem of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V task AppID of the RUNNING thread window_name Thread: nOS-V task AppID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V TaskID of the RUNNING thread window_name Thread: nOS-V TaskID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V task rank+1 of the RUNNING thread window_name Thread: nOS-V task rank+1 of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: nOS-V task type of the RUNNING thread window_name Thread: nOS-V task type of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: OpenMP subsystem of the ACTIVE thread window_name Thread: OpenMP subsystem of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: CPU affinity of the CURRENT thread window_name Thread: CPU affinity of the CURRENT thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: Flushing state of the CURRENT thread window_name Thread: Flushing state of the CURRENT thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name CPU: PID of the RUNNING thread window_name CPU: PID of the RUNNING thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: State of the CURRENT thread window_name Thread: State of the CURRENT thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: TID of the ACTIVE thread window_name Thread: TID of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true

View File

@ -9,8 +9,8 @@ ConfigFile.NumWindows: 1
window_name Thread: TAMPI subsystem of the ACTIVE thread window_name Thread: TAMPI subsystem of the ACTIVE thread
window_type single window_type single
window_id 1 window_id 1
window_position_x 0 window_position_x 100
window_position_y 0 window_position_y 100
window_width 600 window_width 600
window_height 150 window_height 150
window_comm_lines_enabled true window_comm_lines_enabled true