Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M margo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sds
  • margo
  • Merge requests
  • !12

Closed
Created May 07, 2019 by Philip Carns@carnsOwner
  • Report abuse
Report abuse

WIP: experimental rpc timer proof of concept

  • Overview 1
  • Commits 1
  • Changes 14
  • displays min/avg/max for each type of rpc call issued
  • tracks nesting up to 4 deep using 16 bit identifers for each RPC
  • uses abt thread local keys to relay through chains of rpcs
  • replaces mercury gen proc macros with margo variants that tack on additional id for tracing purposes

DO NOT MERGE. Code is in rough draft form (lacks error handling, uses globals, and prints verbosely to stdout) and modifies margo API. Just opening WIP PR for tracking purposes.

The method for adding uint64_t rpc_breadcrumb could be better. The approach used here requires manual intervention for RPCs that don't use GEN_PROC macros, and will duplicate fields when GEN_PROC is nested.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: dev-rpc-breadcrumb