From 9b6c58dc2a1616568227d23d28cda64cba7b9e86 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 6 Feb 2024 13:36:53 -0500 Subject: [PATCH] Profile: add notes to `print()` docs (#53205) (cherry picked from commit 9bafc5334a6a883408ba70761111158f97cc288d) --- stdlib/Profile/src/Profile.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stdlib/Profile/src/Profile.jl b/stdlib/Profile/src/Profile.jl index 716cd7c14b904..690d0465b3ec0 100644 --- a/stdlib/Profile/src/Profile.jl +++ b/stdlib/Profile/src/Profile.jl @@ -201,6 +201,13 @@ The keyword arguments can be any combination of: - `tasks::Union{Int,AbstractVector{Int}}` -- Specify which tasks to include snapshots from in the report. Note that this does not control which tasks samples are collected within. + +!!! compat "Julia 1.8" + The `groupby`, `threads`, and `tasks` keyword arguments were introduced in Julia 1.8. + +!!! note + Profiling on windows is limited to the main thread. Other threads have not been sampled and will not show in the report. + """ function print(io::IO, data::Vector{<:Unsigned} = fetch(),