Skip to content

Commit

Permalink
Add metric section in doc (#5187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Mendelsohn authored and GitHub Enterprise committed Jan 30, 2025
1 parent b964772 commit 5be20af
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
9 changes: 9 additions & 0 deletions groups/bdl/bdlmt/bdlmt_eventscheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ BSLS_IDENT("$Id: $")
// bdlmt::EventSchedulerRecurringEventHandle: handle to a recurring event
// bdlmt::EventSchedulerTestTimeSource: class for testing time changes
//
//@METRICS:
//
// * `bde.startlag`
// > seconds of delay in starting the next event (may be 0.0)
//
// Associated Metric Attributes:
// * object type name: "bdlmt.eventscheduler"
// * object type abbreviation: "es"
//
//@SEE_ALSO: bdlmt_timereventscheduler
//
//@DESCRIPTION: This component provides a thread-safe event scheduler.
Expand Down
13 changes: 13 additions & 0 deletions groups/bdl/bdlmt/bdlmt_fixedthreadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ BSLS_IDENT("$Id: $")
//@CLASSES:
// bdlmt::FixedThreadPool: portable fixed-size thread pool
//
//@METRICS:
//
// * `bde.backlog`
// > number of pending jobs minus number of "idle" threads in the thread pool
// > (may be negative)
//
// * `bde.usedcapacity`
// > number of pending jobs divided by queue capacity
//
// Associated Metric Attributes:
// * object type name: "bdlmt.fixedthreadpool"
// * object type abbreviation: "ftp"
//
//@SEE_ALSO: bdlmt_threadpool
//
//@DESCRIPTION: This component defines a portable and efficient implementation
Expand Down
10 changes: 10 additions & 0 deletions groups/bdl/bdlmt/bdlmt_threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ BSLS_IDENT("$Id: $")
//@CLASSES:
// bdlmt::ThreadPool: portable dynamic thread pool
//
//@METRICS:
//
// * `bde.backlog`
// > number of pending jobs minus number of "idle" threads in the thread pool
// > (may be negative)
//
// Associated Metric Attributes:
// * object type name: "bdlmt.threadpool"
// * object type abbreviation: "tp"
//
//@SEE_ALSO:
//
//@DESCRIPTION: This component defines a portable and efficient implementation
Expand Down
9 changes: 9 additions & 0 deletions groups/bdl/bdlmt/bdlmt_timereventscheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ BSLS_IDENT("$Id: $")
//@CLASSES:
// bdlmt::TimerEventScheduler: thread-safe event scheduler
//
//@METRICS:
//
// * `bde.startlag`
// > seconds of delay in starting the next event (may be 0.0)
//
// Associated Metric Attributes:
// * object type name: "bdlmt.timereventscheduler"
// * object type abbreviation: "tes"
//
//@SEE_ALSO: bdlmt_eventscheduler, bdlcc_timequeue
//
//@DESCRIPTION: This component provides a thread-safe event scheduler,
Expand Down

0 comments on commit 5be20af

Please sign in to comment.