per page, with , order by , clip by
Results of 1 - 5 of about 5 for settime (0.006 sec.)
タイマーファイル記述子 HOWTO 12556
タイマーファイル記述子 HOWTO リリース : 1.13 この HOWTO では、Linux のタイマーファイル記述子を Python で使う方法を説明します。 使用例 次の例は、タイマーファイル記述子を使って 1 秒に 2 回関数を実行する方法を示します。 # 実用的なスクリプトでは ... 成する fd = os . timerfd_create ( time . CLOCK_REALTIME ) # 1 秒後に初回の満了を迎え、その後は 0.5 秒間隔とする os . timerfd_settime ( fd , initial = 1 , interval = 0.5 ) try : # タイマーのイベントを 4 回処理する。 for _ in range ( 4 ): # タイマーが満了す ... append ( fd ) # タイマーファイル記述子を読み取りイベント用に登録する ep . register ( fd , select . EPOLLIN ) # os.timerfd_settime_ns() でナノ秒単位の時間を指定してタイマーを開始する。 # タイマー 1 は 0.25 秒間隔、タイマー 2 は 0.5 秒間隔、以下も同様。 ... for i , fd in enumerate ( fds , start = 1 ): one_sec_in_nsec = 10 ** 9 i = i * one_sec_in_nsec os . timerfd_settime_ns ( fd , initial = i // 4 , interval = i // 4 ) timeout = 3 try : conn = None is_active = True while is_active : # タイマ ...
https://man.mtool.work/python/3.14/howto/timerfd.html
time --- 時刻データへのアクセスと変換 9743
time --- 時刻データへのアクセスと変換 このモジュールでは、時刻に関するさまざまな関数を提供します。関連した機能について、 datetime , calendar モジュールも参照してください。 このモジュールは常に利用可能ですが、すべての関数がすべてのプラットフ ... int clock_gettime() に似ていますが、ナノ秒単位の時刻を返します。 利用可能な環境 : Unix. Added in version 3.7. time. clock_settime ( clk_id , time : float , / ) 指定された clk_id クロックの時刻を設定します。 現在、 CLOCK_REALTIME は clk_id が受け付ける唯 ... 一の値です。 float 型による精度の損失を避けるには clock_settime_ns() を使ってください。 利用可能な環境 : Unix, not Android, not iOS. Added in version 3.3. time. clock_settime_ns ( clk_id ... , time : int , / ) clock_settime() に似ていますが、ナノ秒単位の時刻を設定します。 利用可能な環境 : Unix, not Android, not iOS. Added in version 3.7. time. ...
https://man.mtool.work/python/3.14/library/time.html
What's New In Python 3.13 7942
What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71 ... による gh-109595 での貢献。) Linux の タイマーファイル記述子 の 低水準インターフェース として、 timerfd_create() 、 timerfd_settime() 、 timerfd_settime_ns() 、 timerfd_gettime() 、 timerfd_gettime_ns() 、 TFD_NONBLOCK 、 TFD_CLOEXEC 、 TFD_TIMER_ABSTIME ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
What's New In Python 3.7 7942
What's New In Python 3.7 編集者 : Elvis Pranskevichus < elvis @ magic . io > この記事では Python 3.6 と比較した Python 3.7 の新機能を解説します。Python 3.7 は2018年6月27日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 ... PEP 564 は既存の時刻関数に対応する次の六つの「ナノ秒」版を time モジュールに追加します: time.clock_gettime_ns() time.clock_settime_ns() time.monotonic_ns() time.perf_counter_ns() time.process_time_ns() time.time_ns() 新しい関数は、整数値としてナノ秒単位 ... time PEP 564 により、ナノ秒の分解能を持つ六つの関数が time モジュールに追加されました: time.clock_gettime_ns() time.clock_settime_ns() time.monotonic_ns() time.perf_counter_ns() time.process_time_ns() time.time_ns() 新しいクロック識別子が追加されました ...
https://man.mtool.work/python/3.14/whatsnew/3.7.html
What's New In Python 3.3 7740
What's New In Python 3.3 この記事では 3.2 と比較した Python 3.3 の新機能を解説します。 Python 3.3 は2012年9月29日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 398 - Python 3.3 リリーススケジュール 概要 -- リリース ... スの system と user CPU 時間の和です。 その他の新たな関数: CLOCK_ xxx 定数を使う clock_getres() 、 clock_gettime() 、 clock_settime() 関数。 (Victor Stinner による貢献、 bpo-10278 。) クロスプラットフォーム間での一貫性を改善するために、 sleep() が負の値を ...
https://man.mtool.work/python/3.14/whatsnew/3.3.html
PREV 1 NEXT