From 926c420bd86a28245f9fabf1650f7946880d2ccb Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Wed, 19 Jun 2024 10:07:49 +1000 Subject: [PATCH] Change highwater -> high water, add mutexes to spelling wordlist --- c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h | 2 +- haskell/src/SwiftNav/SBP/Profiling.hs | 2 +- java/src/com/swiftnav/sbp/profiling/MsgProfilingThreadInfo.java | 2 +- javascript/sbp/profiling.js | 2 +- kaitai/ksy/profiling.ksy | 2 +- python/docs/source/spelling_wordlist.txt | 1 + python/sbp/profiling.py | 2 +- rust/sbp/src/messages/profiling.rs | 2 +- spec/yaml/swiftnav/sbp/profiling.yaml | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h b/c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h index 451601ef3e..cbe55144a5 100644 --- a/c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h +++ b/c/include/libsbp/profiling/MSG_PROFILING_THREAD_INFO.h @@ -66,7 +66,7 @@ typedef struct { u32 stack_size; /** - * Stack highwater usage in bytes + * Stack high water usage in bytes */ u32 stack_usage; diff --git a/haskell/src/SwiftNav/SBP/Profiling.hs b/haskell/src/SwiftNav/SBP/Profiling.hs index 31ca5a2bba..00d2a529d2 100644 --- a/haskell/src/SwiftNav/SBP/Profiling.hs +++ b/haskell/src/SwiftNav/SBP/Profiling.hs @@ -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 ) diff --git a/java/src/com/swiftnav/sbp/profiling/MsgProfilingThreadInfo.java b/java/src/com/swiftnav/sbp/profiling/MsgProfilingThreadInfo.java index 0c6ee2c7dc..a4bd9eedbb 100644 --- a/java/src/com/swiftnav/sbp/profiling/MsgProfilingThreadInfo.java +++ b/java/src/com/swiftnav/sbp/profiling/MsgProfilingThreadInfo.java @@ -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 */ diff --git a/javascript/sbp/profiling.js b/javascript/sbp/profiling.js index 274edc3b69..2d9e110b73 100644 --- a/javascript/sbp/profiling.js +++ b/javascript/sbp/profiling.js @@ -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. diff --git a/kaitai/ksy/profiling.ksy b/kaitai/ksy/profiling.ksy index 15185c6062..d1a8c023f4 100644 --- a/kaitai/ksy/profiling.ksy +++ b/kaitai/ksy/profiling.ksy @@ -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: | diff --git a/python/docs/source/spelling_wordlist.txt b/python/docs/source/spelling_wordlist.txt index 3b90164009..434d869dd9 100644 --- a/python/docs/source/spelling_wordlist.txt +++ b/python/docs/source/spelling_wordlist.txt @@ -100,6 +100,7 @@ lon mesid msg msgs +mutexes nd ndb netlink diff --git a/python/sbp/profiling.py b/python/sbp/profiling.py index 6d80016057..fbb4373da0 100644 --- a/python/sbp/profiling.py +++ b/python/sbp/profiling.py @@ -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 diff --git a/rust/sbp/src/messages/profiling.rs b/rust/sbp/src/messages/profiling.rs index d122079f1c..ed84cd79c6 100644 --- a/rust/sbp/src/messages/profiling.rs +++ b/rust/sbp/src/messages/profiling.rs @@ -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 diff --git a/spec/yaml/swiftnav/sbp/profiling.yaml b/spec/yaml/swiftnav/sbp/profiling.yaml index e2d8417e3e..f12fa06a35 100644 --- a/spec/yaml/swiftnav/sbp/profiling.yaml +++ b/spec/yaml/swiftnav/sbp/profiling.yaml @@ -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