Copyright | Copyright (C) 2015-2021 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
< Standardized profiling messages from Swift Navigation devices. >
Synopsis
- data MsgMeasurementPoint = MsgMeasurementPoint {
- _msgMeasurementPoint_total_time :: !Word32
- _msgMeasurementPoint_num_executions :: !Word16
- _msgMeasurementPoint_min :: !Word32
- _msgMeasurementPoint_max :: !Word32
- _msgMeasurementPoint_return_addr :: !Word64
- _msgMeasurementPoint_id :: !Word64
- _msgMeasurementPoint_slice_time :: !Word64
- _msgMeasurementPoint_line :: !Word16
- _msgMeasurementPoint_func :: !Text
- data MsgProfilingSystemInfo = MsgProfilingSystemInfo {}
- data MsgProfilingThreadInfo = MsgProfilingThreadInfo {}
- data ResourceBucket = ResourceBucket {
- _resourceBucket_name :: !Text
- _resourceBucket_thread :: !Word8
- _resourceBucket_mutex :: !Word8
- _resourceBucket_cv :: !Word8
- _resourceBucket_io :: !Word8
- _resourceBucket_heap_bytes_alloc :: !Word32
- _resourceBucket_heap_bytes_free :: !Word32
- _resourceBucket_io_write :: !Word32
- _resourceBucket_io_read :: !Word32
- data MsgProfilingResourceCounter = MsgProfilingResourceCounter {}
- msgMeasurementPoint :: Word16
- msgProfilingSystemInfo :: Word16
- msgProfilingThreadInfo :: Word16
- msgProfilingResourceCounter :: Word16
- msgMeasurementPoint_func :: Lens' MsgMeasurementPoint Text
- msgMeasurementPoint_id :: Lens' MsgMeasurementPoint Word64
- msgMeasurementPoint_line :: Lens' MsgMeasurementPoint Word16
- msgMeasurementPoint_max :: Lens' MsgMeasurementPoint Word32
- msgMeasurementPoint_min :: Lens' MsgMeasurementPoint Word32
- msgMeasurementPoint_num_executions :: Lens' MsgMeasurementPoint Word16
- msgMeasurementPoint_return_addr :: Lens' MsgMeasurementPoint Word64
- msgMeasurementPoint_slice_time :: Lens' MsgMeasurementPoint Word64
- msgMeasurementPoint_total_time :: Lens' MsgMeasurementPoint Word32
- msgProfilingSystemInfo_age :: Lens' MsgProfilingSystemInfo Word64
- msgProfilingSystemInfo_heap_usage :: Lens' MsgProfilingSystemInfo Word32
- msgProfilingSystemInfo_n_threads :: Lens' MsgProfilingSystemInfo Word8
- msgProfilingSystemInfo_total_cpu_time :: Lens' MsgProfilingSystemInfo Word64
- msgProfilingThreadInfo_age :: Lens' MsgProfilingThreadInfo Word64
- msgProfilingThreadInfo_name :: Lens' MsgProfilingThreadInfo Text
- msgProfilingThreadInfo_stack_size :: Lens' MsgProfilingThreadInfo Word32
- msgProfilingThreadInfo_stack_usage :: Lens' MsgProfilingThreadInfo Word32
- msgProfilingThreadInfo_state :: Lens' MsgProfilingThreadInfo Word8
- msgProfilingThreadInfo_total_cpu_time :: Lens' MsgProfilingThreadInfo Word64
- resourceBucket_cv :: Lens' ResourceBucket Word8
- resourceBucket_heap_bytes_alloc :: Lens' ResourceBucket Word32
- resourceBucket_heap_bytes_free :: Lens' ResourceBucket Word32
- resourceBucket_io :: Lens' ResourceBucket Word8
- resourceBucket_io_read :: Lens' ResourceBucket Word32
- resourceBucket_io_write :: Lens' ResourceBucket Word32
- resourceBucket_mutex :: Lens' ResourceBucket Word8
- resourceBucket_name :: Lens' ResourceBucket Text
- resourceBucket_thread :: Lens' ResourceBucket Word8
- msgProfilingResourceCounter_buckets :: Lens' MsgProfilingResourceCounter [ResourceBucket]
- msgProfilingResourceCounter_seq_len :: Lens' MsgProfilingResourceCounter Word8
- msgProfilingResourceCounter_seq_no :: Lens' MsgProfilingResourceCounter Word8
Documentation
data MsgMeasurementPoint Source #
SBP class for message MSG_MEASUREMENT_POINT (0xCF00).
Tracks execution time of certain code paths in specially built products. This message should only be expected and processed on the direction of Swift's engineering teams.
MsgMeasurementPoint | |
|
Instances
data MsgProfilingSystemInfo Source #
SBP class for message MSG_PROFILING_SYSTEM_INFO (0xCF01).
Contains basic information about system resource usage. System is defined in terms of the source of this message and may vary from sender to sender. Refer to product documentation to understand the exact scope and meaning of this message.
MsgProfilingSystemInfo | |
|
Instances
FromJSON MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling | |
ToJSON MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling toJSON :: MsgProfilingSystemInfo -> Value # toEncoding :: MsgProfilingSystemInfo -> Encoding # toJSONList :: [MsgProfilingSystemInfo] -> Value # toEncodingList :: [MsgProfilingSystemInfo] -> Encoding # omitField :: MsgProfilingSystemInfo -> Bool # | |
Read MsgProfilingSystemInfo Source # | |
Show MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling showsPrec :: Int -> MsgProfilingSystemInfo -> ShowS # show :: MsgProfilingSystemInfo -> String # showList :: [MsgProfilingSystemInfo] -> ShowS # | |
Binary MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling put :: MsgProfilingSystemInfo -> Put # get :: Get MsgProfilingSystemInfo # putList :: [MsgProfilingSystemInfo] -> Put # | |
Eq MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling | |
ToSBP MsgProfilingSystemInfo Source # | |
Defined in SwiftNav.SBP.Profiling |
data MsgProfilingThreadInfo Source #
SBP class for message MSG_PROFILING_THREAD_INFO (0xCF02).
Contains profiling information related to a single thread being tracked by the producing system. Refer to product documentation to understand the exact scope and meaning of this message.
MsgProfilingThreadInfo | |
|
Instances
FromJSON MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling | |
ToJSON MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling toJSON :: MsgProfilingThreadInfo -> Value # toEncoding :: MsgProfilingThreadInfo -> Encoding # toJSONList :: [MsgProfilingThreadInfo] -> Value # toEncodingList :: [MsgProfilingThreadInfo] -> Encoding # omitField :: MsgProfilingThreadInfo -> Bool # | |
Read MsgProfilingThreadInfo Source # | |
Show MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling showsPrec :: Int -> MsgProfilingThreadInfo -> ShowS # show :: MsgProfilingThreadInfo -> String # showList :: [MsgProfilingThreadInfo] -> ShowS # | |
Binary MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling put :: MsgProfilingThreadInfo -> Put # get :: Get MsgProfilingThreadInfo # putList :: [MsgProfilingThreadInfo] -> Put # | |
Eq MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling | |
ToSBP MsgProfilingThreadInfo Source # | |
Defined in SwiftNav.SBP.Profiling |
data ResourceBucket Source #
ResourceBucket.
Information about allocation of various resources grouped by buckets. Refer to product documentation to understand the meaning and values in this message.
ResourceBucket | |
|
Instances
FromJSON ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling parseJSON :: Value -> Parser ResourceBucket # parseJSONList :: Value -> Parser [ResourceBucket] # | |
ToJSON ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling toJSON :: ResourceBucket -> Value # toEncoding :: ResourceBucket -> Encoding # toJSONList :: [ResourceBucket] -> Value # toEncodingList :: [ResourceBucket] -> Encoding # omitField :: ResourceBucket -> Bool # | |
Read ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling readsPrec :: Int -> ReadS ResourceBucket # readList :: ReadS [ResourceBucket] # | |
Show ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling showsPrec :: Int -> ResourceBucket -> ShowS # show :: ResourceBucket -> String # showList :: [ResourceBucket] -> ShowS # | |
Binary ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling | |
Eq ResourceBucket Source # | |
Defined in SwiftNav.SBP.Profiling (==) :: ResourceBucket -> ResourceBucket -> Bool # (/=) :: ResourceBucket -> ResourceBucket -> Bool # |
data MsgProfilingResourceCounter Source #
SBP class for message MSG_PROFILING_RESOURCE_COUNTER (0xCF03).
Information about resource buckets. Refer to product documentation to understand the meaning and values in this message.
MsgProfilingResourceCounter | |
|