Skip to content

Conversation

@hzlushiliang
Copy link
Contributor

…in x86 arch

  • use rdtsc instruction instead of __rdtsc function to get tsc in x86 arch
  • support fiber primitive for ExitBarrier, to allow Fiber.Join in pthread context and fiber context

…in x86 arch

- use rdtsc instruction instead of __rdtsc function to get tsc in x86 arch
- support fiber primitive for ExitBarrier, to allow Fiber.Join in pthread context and fiber context
@codecov
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8dcc565) 81.76106% compared to head (c9c8bfe) 81.72807%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##                main         #97         +/-   ##
===================================================
- Coverage   81.76106%   81.72807%   -0.03299%     
===================================================
  Files            855         855                 
  Lines          33900       33899          -1     
===================================================
- Hits           27717       27705         -12     
- Misses          6183        6194         +11     
Files Coverage Δ
trpc/coroutine/fiber.h 100.00000% <ø> (ø)
trpc/runtime/threadmodel/fiber/detail/waitable.cc 97.04433% <ø> (-0.04305%) ⬇️
trpc/runtime/threadmodel/fiber/detail/waitable.h 92.30769% <ø> (ø)
trpc/util/chrono/tsc.h 100.00000% <100.00000%> (ø)

... and 6 files with indirect coverage changes

@helloopenworld helloopenworld merged commit 5361895 into trpc-group:main Dec 28, 2023
@hzlushiliang hzlushiliang deleted the feature/rdtsc_instruction branch December 28, 2023 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants