Skip to content

Commit

Permalink
Change highwater -> high water, add mutexes to spelling wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
woodfell committed Jun 19, 2024
1 parent 7da3bf7 commit 926c420
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ typedef struct {
u32 stack_size;

/**
* Stack highwater usage in bytes
* Stack high water usage in bytes
*/
u32 stack_usage;

Expand Down
2 changes: 1 addition & 1 deletion haskell/src/SwiftNav/SBP/Profiling.hs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ data MsgProfilingThreadInfo = MsgProfilingThreadInfo
, _msgProfilingThreadInfo_stack_size :: !Word32
-- ^ Stack size in bytes
, _msgProfilingThreadInfo_stack_usage :: !Word32
-- ^ Stack highwater usage in bytes
-- ^ Stack high water usage in bytes
, _msgProfilingThreadInfo_name :: !Text
-- ^ Thread name
} deriving ( Show, Read, Eq )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class MsgProfilingThreadInfo extends SBPMessage {
/** Stack size in bytes */
public long stack_size;

/** Stack highwater usage in bytes */
/** Stack high water usage in bytes */
public long stack_usage;

/** Thread name */
Expand Down
2 changes: 1 addition & 1 deletion javascript/sbp/profiling.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ MsgProfilingSystemInfo.prototype.fieldSpec.push(['heap_usage', 'writeUInt32LE',
* @field age number (unsigned 64-bit int, 8 bytes) Age of the thread in microseconds
* @field state number (unsigned 8-bit int, 1 byte) Thread state
* @field stack_size number (unsigned 32-bit int, 4 bytes) Stack size in bytes
* @field stack_usage number (unsigned 32-bit int, 4 bytes) Stack highwater usage in bytes
* @field stack_usage number (unsigned 32-bit int, 4 bytes) Stack high water usage in bytes
* @field name string Thread name
*
* @param sbp An SBP object with a payload to be decoded.
Expand Down
2 changes: 1 addition & 1 deletion kaitai/ksy/profiling.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ types:
type: u4
- id: stack_usage
doc: |
Stack highwater usage in bytes
Stack high water usage in bytes
type: u4
- id: name
doc: |
Expand Down
1 change: 1 addition & 0 deletions python/docs/source/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ lon
mesid
msg
msgs
mutexes
nd
ndb
netlink
Expand Down
2 changes: 1 addition & 1 deletion python/sbp/profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ class MsgProfilingThreadInfo(SBP):
stack_size : int
Stack size in bytes
stack_usage : int
Stack highwater usage in bytes
Stack high water usage in bytes
name : string
Thread name
sender : int
Expand Down
2 changes: 1 addition & 1 deletion rust/sbp/src/messages/profiling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ pub mod msg_profiling_thread_info {
/// Stack size in bytes
#[cfg_attr(feature = "serde", serde(rename = "stack_size"))]
pub stack_size: u32,
/// Stack highwater usage in bytes
/// Stack high water usage in bytes
#[cfg_attr(feature = "serde", serde(rename = "stack_usage"))]
pub stack_usage: u32,
/// Thread name
Expand Down
2 changes: 1 addition & 1 deletion spec/yaml/swiftnav/sbp/profiling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ definitions:
desc: Stack size in bytes
- stack_usage:
type: u32
desc: Stack highwater usage in bytes
desc: Stack high water usage in bytes
- name:
type: string
encoding: null_terminated
Expand Down

0 comments on commit 926c420

Please sign in to comment.