Results of 1 - 10 of about 75 for Timer (0.006 sec.)
- timer file descriptor HOWTO — Python 3.14.8 ドキュメント 14323
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th
...e linux timer file descriptor. 使用例 ¶ The following example shows how to use a timer file descriptor to execute a function twice a sec...ond: # Practical scripts should use really use a non-blocking timer, # we use a blocking timer here for simplicity. import os , time # Create the timer file descriptor fd = os . timerfd_crea...te ( time . CLOCK_REALTIME ) # Start the timer in 1 second, with an interval of half a second os . timerfd_settime ( fd , initial = 1 , interval = 0.5 ) try : # Process... - https://man.mtool.work/python/3.14/howto/timerfd.html
- timer file descriptor HOWTO — Python 3.14.8 ドキュメント 14268
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » timer file descriptor HOWTO テーマ 自動 ライト ダーク | timer file descriptor HOWTO ¶ リリース : 1.13 This HOWTO discusses Python's support for th
...e linux timer file descriptor. 使用例 ¶ The following example shows how to use a timer file descriptor to execute a function twice a sec...ond: # Practical scripts should use really use a non-blocking timer, # we use a blocking timer here for simplicity. import os , time # Create the timer file descriptor fd = os . timerfd_crea...te ( time . CLOCK_REALTIME ) # Start the timer in 1 second, with an interval of half a second os . timerfd_settime ( fd , initial = 1 , interval = 0.5 ) try : # Process... - https://man.mtool.work/python/3.14/howto/timerfd.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 10252
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...erface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer インスタンスを作成...間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer インス...globals 引数が追加されました。 バージョン 3.7 で変更: repeat のデフォルト値が 3 から 5 へ変更されました。 timeit. default_timer ( ) ¶ 浮動小数点数の秒数を返すデフォルトのタイマーで、常に time.perf_counter() でとなります。代わりに、 time.perf_counter_... - https://man.mtool.work/python/3.14/library/timeit.html
- timeit --- 小さなコードスニペットの実行時間計測 — Python 3.14.8 ドキュメント 10058
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » timeit --- 小さなコードスニペットの実行時間計測 テーマ 自動 ライト ダーク | timeit --- 小さなコードスニペ
...erface ¶ このモジュールは 3 つの有用な関数と 1 つの公開クラスを持っています: timeit. timeit ( stmt='pass' , setup='pass' , timer=<default timer> , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer インスタンスを作成...間を指定します。 バージョン 3.5 で変更: 任意の globals 引数が追加されました。 timeit. repeat ( stmt='pass' , setup='pass' , timer=<default timer> , repeat=5 , number=1000000 , globals=None ) ¶ 与えられた文、 setup コードおよび timer 関数で Timer インス...globals 引数が追加されました。 バージョン 3.7 で変更: repeat のデフォルト値が 3 から 5 へ変更されました。 timeit. default_timer ( ) ¶ 浮動小数点数の秒数を返すデフォルトのタイマーで、常に time.perf_counter() でとなります。代わりに、 time.perf_counter_... - https://man.mtool.work/python/3.14/library/timeit.html
- os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 8627
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多
...T_NODIRATIME ¶ Do not update directory access times. Availability : Linux. Added in version 3.4. os. ST_RELATIME ¶ Update atime relative to mtime/ctime. Availability : Linux. Added in version 3.4. os. supports_dir_fd ¶ A set object indicating which fu...file descriptor. On read the internal counter is decremented by one. Availability : Linux >= 2.6.30 Added in version 3.10. Timer File Descriptors ¶ Added in version 3.13. These functions provide support for Linux's timer file descriptor API. Naturally..., they are all only available on Linux. os. timerfd_create ( clockid , / , * , flags = 0 ) ¶ Create and return a timer file descriptor ( timerfd ). The file descriptor retu... - https://man.mtool.work/python/3.14/library/os.html
- The Python Profilers — Python 3.14.8 ドキュメント 7557
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » The Python Profilers テーマ 自動 ライト ダーク | The Python Profilers ¶ Source code: Lib/profile.py and L
...ecutes: exec ( command , globals , locals ) そしてプロファイル統計情報を run() 同様に収集します。 class profile. Profile ( timer = None , timeunit = 0.0 , subcalls = True , builtins = True ) ¶ This class is normally only used if more precise control o...ver profiling is needed than what the cProfile.run() function provides. timer 引数に、コードの実行時間を計測するためのカスタムな時刻取得用関数を渡せます。これは現在時刻を表す単一の数値を返す関数でなけ...ディスパッチルーチンには特別な高速化バージョンが使われます。 Be warned that you should calibrate the profiler class for the timer function that you choose (see キャリブレーション (補正) ). For most machines, a timer that returns a lone integer value wi... - https://man.mtool.work/python/3.14/library/profile.html
- The Python Profilers — Python 3.14.8 ドキュメント 7557
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » The Python Profilers テーマ 自動 ライト ダーク | The Python Profilers ¶ Source code: Lib/profile.py and L
...ecutes: exec ( command , globals , locals ) そしてプロファイル統計情報を run() 同様に収集します。 class profile. Profile ( timer = None , timeunit = 0.0 , subcalls = True , builtins = True ) ¶ This class is normally only used if more precise control o...ver profiling is needed than what the cProfile.run() function provides. timer 引数に、コードの実行時間を計測するためのカスタムな時刻取得用関数を渡せます。これは現在時刻を表す単一の数値を返す関数でなけ...ディスパッチルーチンには特別な高速化バージョンが使われます。 Be warned that you should calibrate the profiler class for the timer function that you choose (see キャリブレーション (補正) ). For most machines, a timer that returns a lone integer value wi... - https://man.mtool.work/python/3.14/library/profile.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 7363
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...2 0 0 0 9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': <float at remote 0x984b474>, 'gsd.hints': 0, 'timer.active_time': <float at remote 0x984b494>, '...2 0 0 0 9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': <float at remote 0x984b474>, 'gsd.hints': 0, 'timer.active_time': <float at remote 0x984b494>, '... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- Debugging C API extensions and CPython Internals with GDB — Python 3.14.8 ドキ... 7363
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Debugging C API extensions and CPython Internals with GDB テーマ 自動 ライト ダーク | Debugging C API extensions and CPython Internals with GDB ¶
...2 0 0 0 9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': <float at remote 0x984b474>, 'gsd.hints': 0, 'timer.active_time': <float at remote 0x984b494>, '...2 0 0 0 9 0 1 0 0 0 3 9 7 6 0 0 0 1 8 0 6 0 0 0 0 2 8 0 0 0 5 0 4 0 6 0 0 2 1 0 0 0 0 0 4 5', 'gsd.impossible_hints': 0, 'timer.__absolute_start_time__': <float at remote 0x984b474>, 'gsd.hints': 0, 'timer.active_time': <float at remote 0x984b494>, '... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html
- threading --- スレッドベースの並列処理 — Python 3.14.8 ドキュメント 7099
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » threading --- スレッドベースの並列処理 テーマ 自動 ライト ダーク | threading --- スレッドベースの並列処理 ¶ ソースコード
...the operation in seconds, or fractions thereof. バージョン 3.1 で変更: 以前は、このメソッドは常に None を返していました。 Timer objects ¶ このクラスは、一定時間経過後に実行される活動、すなわちタイマ活動を表現します。 Timer は Thread のサブクラスであり...、自作のスレッドを構築した一例でもあります。 Timers are started, as with threads, by calling their Timer.start method. The timer can be stopped (before its action has begun)...by calling the cancel() method. The interval the timer will wait before executing its action may not be exactly the same as the interval specified by the user. 例えば: def hello... - https://man.mtool.work/python/3.14/library/threading.html