Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ recursive-include line_profiler *.pyd
recursive-include line_profiler *.c
recursive-include line_profiler *.h
include dev/repair_windows_wheel.py
recursive-include line_profiler *.hpp
3 changes: 3 additions & 0 deletions line_profiler/_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def _boolean_environ(

# `line_profiler._line_profiler` switches
WRAP_TRACE = _boolean_environ('LINE_PROFILER_WRAP_TRACE')
# Whether to time with the CPU's timestamp counter where it's reliable
# (see line_profiler/timers.c)
USE_TSC = _boolean_environ('LINE_PROFILER_TSC', default=True)
SET_FRAME_LOCAL_TRACE = _boolean_environ('LINE_PROFILER_SET_FRAME_LOCAL_TRACE')
_MUST_USE_LEGACY_TRACE = not isinstance(
getattr(sys, 'monitoring', None), ModuleType
Expand Down
Loading
Loading