Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F139418767
D35931.id108531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
632 B
Referenced Files
None
Subscribers
None
D35931.id108531.diff
View Options
Index: sys/kern/kern_tc.c
===================================================================
--- sys/kern/kern_tc.c
+++ sys/kern/kern_tc.c
@@ -1761,6 +1761,7 @@
pps_capture(struct pps_state *pps)
{
struct timehands *th;
+ struct timecounter *tc;
KASSERT(pps != NULL, ("NULL pps pointer in pps_capture"));
th = timehands;
@@ -1769,7 +1770,8 @@
#ifdef FFCLOCK
pps->capffth = fftimehands;
#endif
- pps->capcount = th->th_counter->tc_get_timecount(th->th_counter);
+ tc = th->th_counter;
+ pps->capcount = tc->tc_get_timecount(tc);
atomic_thread_fence_acq();
if (pps->capgen != th->th_generation)
pps->capgen = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 12, 8:59 PM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26912462
Default Alt Text
D35931.id108531.diff (632 B)
Attached To
Mode
D35931: pps: Load timecounter once in pps_capture()
Attached
Detach File
Event Timeline
Log In to Comment