-
Notifications
You must be signed in to change notification settings - Fork 0
/
Speedscope.fsi
30 lines (25 loc) · 816 Bytes
/
Speedscope.fsi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/// Contains functions for generating performance profiles in speedscope format (https://github.com/jlfwong/speedscope).
[<RequireQualifiedAccess>]
module UByte.Interpreter.Speedscope
open System
[<Struct>]
type FrameEventKind = | OpenFrame | CloseFrame
[<NoComparison; NoEquality>]
type FrameEvent =
{ Time: TimeSpan
Type: FrameEventKind
Name: string }
val writeToStream :
output: System.IO.Stream ->
events: System.Collections.Immutable.ImmutableArray<FrameEvent> ->
startTime: TimeSpan ->
endTime: TimeSpan ->
programFileName: string ->
unit
val write :
output : System.Text.Json.Utf8JsonWriter ->
events: System.Collections.Immutable.ImmutableArray<FrameEvent> ->
startTime: TimeSpan ->
endTime: TimeSpan ->
programFileName: string ->
unit