Results of 1 - 10 of about 18 for perf (0.004 sec.)
- Python support for the Linux perf profiler 14412
- Python support for the Linux perf profiler author : Pablo Galindo The Linux perf profiler is a very powerful tool that allows you to profile and obtain information about the performance of your application. perf also has a very vibrant ecos
...ystem of tools that aid with the analysis of the data that it produces. The main problem with using the perf profiler with Python applications is that perf only gets information about native symbols, that is, the names of functions...s written in C. This means that the names and file names of Python functions in your code will not appear in the output of perf . Since Python 3.12, the interpreter can run in a special mode that allows Python functions to appear in the output of the...perf profiler. When this mode is enabled, the interpreter will interpose a small piece of code compiled on the fly before the e... - https://man.mtool.work/python/3.14/howto/perf_profiling.html
- perf map のサポート 12045
- perf map のサポート On supported platforms (as of this writing, only Linux), the runtime can take advantage of perf map files to make Python functions visible to an external profiling tool (such as perf ). A running process may create a fil
...entries that can map a section of executable code to a name. This interface is described in the documentation of the Linux Perf tool . Python では、実行中に機械語コードを生成するライブラリや機能が、これらの補助 API を利用できます。 Note that holding...an attached thread state is not required for these APIs. int PyUnstable_PerfMapState_Init ( void ) これは Unstable API です。マイナーリリースで予告なく変更されることがあります。 /tmp/perf-$pid.map フ...ァイルがまだ開かれていなければ開き、ファイルへの書き込みをスレッドセーフにするためのロックを作成します ( PyUnstable_WritePerfMapEntry() を通じて書き込む必要があります)。 通常、この関数を明示的に呼び出す必要はありません。 PyUnstable_WritePerfMapEntr... - https://man.mtool.work/python/3.14/c-api/perfmaps.html
- 1. コマンドラインと環境 8922
- 1. コマンドラインと環境 CPython インタプリタはコマンドラインと環境を読み取って様々な設定を行ないます。 ほかの実装では、コマンドラインの形式が異なる場合があります。 関連情報は 別のPythonの実装 を参照してください。 1.1. コマンドライン Python
...ozen modules are always used, even if this flag is set to off . See also PYTHON_FROZEN_MODULES . Added in version 3.11. -X perf は、Linux の perf プロファイラのサポートを有効にします。 このオプションを指定すると、 perf プロファイラが Python の呼び出し...ラットフォームでのみ利用でき、現在のシステムでサポートされていない場合は何も行いません。 デフォルトの値は "off" です。 PYTHONPERFSUPPORT と Python support for the Linux perf profiler も参照してください。 Added in version 3.12. -X perf_jit は、DWARF に対...応した Linux の perf プロファイラのサポートを有効にします。 このオプションを指定すると、 perf プロファイラが DWARF 情報を使って Python の呼び出... - https://man.mtool.work/python/3.14/using/cmdline.html
- Python 初期化設定 8338
- Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr
..._argv bool 読み出し専用 "parser_debug" parser_debug bool 公開 "pathconfig_warnings" pathconfig_warnings bool 読み出し専用 "perf_profiling" perf_profiling bool 読み出し専用 "platlibdir" platlibdir str 公開 "prefix" prefix str 公開 "program_name" progr...インオプションと PYTHONTRACEMALLOC 環境変数によって設定されます。 デフォルト: Python モードでは -1 、隔離モードでは 0 。 int perf_profiling Linux の perf プロファイラーへの対応を有効にするかどうか。 1 の場合、Linux の perf プロファイラーへの対応を有効に...します。 2 の場合、DWARF JIT に対応する方式で Linux の perf プロファイラーへの対応を有効にします。 -X perf コマンドラインオプションと PYTHONPERFSUPPORT 環境変数によって 1 に設定されま... - https://man.mtool.work/python/3.14/c-api/init_config.html
- timeit --- 小さなコードスニペットの実行時間計測 8218
- timeit --- 小さなコードスニペットの実行時間計測 ソースコード: Lib/timeit.py このモジュールは、小さな Python コードの実行時間を簡単に計測する手段を提供します。 Command-Line Interface と、 Python から呼び出せるインターフェース の両方があります
...フォルト値が 3 から 5 へ変更されました。 timeit. default_timer ( ) 浮動小数点数の秒数を返すデフォルトのタイマーで、常に time.perf_counter() でとなります。代わりに、 time.perf_counter_ns は整数のナノ秒を返します。 バージョン 3.3 で変更: デフォルトのタイ...マーが time.perf_counter() になりました。 class timeit. Timer ( stmt='pass' , setup='pass' , timer=<timer function> , globals=None ) 小さな...り返す回数(デフォルトは5) -s S , --setup =S 最初に1回だけ実行する文 (デフォルトは pass ) -p , --process デフォルトの time.perf_counter() の代わり time.process_time() を利用して、実時間ではなくプロセス時間を計測します Added in version 3.3. -u , --uni... - https://man.mtool.work/python/3.14/library/timeit.html
- time --- 時刻データへのアクセスと変換 8150
- time --- 時刻データへのアクセスと変換 このモジュールでは、時刻に関するさまざまな関数を提供します。関連した機能について、 datetime , calendar モジュールも参照してください。 このモジュールは常に利用可能ですが、すべての関数がすべてのプラットフ
...して取得します。サポートされているクロック名およびそれらの値を取得する関数は以下の通りです: 'monotonic' : time.monotonic() 'perf_counter' : time.perf_counter() 'process_time' : time.process_time() 'thread_time' : time.thread_time() 'time' : time.time(...けません。戻り値の基準点は定義されていないので、二回の呼び出しの結果の差だけが有効です。 使用するクロック: Windows では QueryPerformanceCounter() と QueryPerformanceFrequency() を呼び出します。 macOS では mach_absolute_time() と mach_timebase_info() を...りました。 time. monotonic_ns ( ) → int monotonic() に似ていますが、ナノ秒単位の時刻を返します。 Added in version 3.7. time. perf_counter ( ) → float パフォーマンスカウンター、すなわち短い時間を測定するための、利用可能な中で最も分解能が高いクロックの値... - https://man.mtool.work/python/3.14/library/time.html
- ユーティリティ 8081
- ユーティリティ この章の関数は、C で書かれたコードをプラットフォーム間で可搬性のあるものにする上で役立つものから、C から Python モジュールを使うもの、そして関数の引数を解釈したり、C の値から Python の値を構築するものまで、様々なユーティリティ
...icode エラーハンドラ用レジストリ API コーデックのユーティリティ変数 PyTime C API 型 クロック関数 Raw クロック関数 変換関数 perf map のサポート Expat C API 他のマニュアルの関連ページ Linux JM pig(6) Linux JM pom(6) Django utils PHP outcontrol.output-h... - https://man.mtool.work/python/3.14/c-api/utilities.html
- Python HOWTO 8081
- Python HOWTO Python HOWTO は特定の話題を掘り下げて解説するドキュメントです。 Linux Documentation Project の HOWTO 集をモデルに、Python ライブラリリファレンスよりも詳しいドキュメントを充実させることを目指しています。 一般: A Conceptual Overv
...ング: GDB による C API 拡張と CPython 内部のデバッグ DTrace と SystemTap で CPython を測定する Python support for the Linux perf profiler リモートデバッグのアタッチプロトコル 他のマニュアルの関連ページ PHP debugger PHP about.more PHP language.enumerat... - https://man.mtool.work/python/3.14/howto/
- Python/C API リファレンスマニュアル 7892
- Python/C API リファレンスマニュアル このマニュアルでは、拡張モジュールを書いたり Python インタプリタをアプリケーションに埋め込んだりしたい C/C++ プログラマが利用できる API について述べています。 Python インタプリタの拡張と埋め込み は拡張モジ
...の解釈と値の構築 文字列の変換と書式化 文字の分類と変換 PyHash API リフレクション codec レジストリとサポート関数 PyTime C API perf map のサポート Expat C API 抽象オブジェクトレイヤ (Abstract Objects Layer) オブジェクトプロトコル (object protocol) Call プ...ープリタごとの GIL バグと注意事項 高水準 API 低水準 API 高度なデバッガーのサポート プロファイリングとトレース 参照のトレース Performance statistics Python 初期化設定 PyInitConfig C API 設定オプション 実行時の Python 設定 API PyConfig C API Py_GetArgcAr... - https://man.mtool.work/python/3.14/c-api/
- PyTime C API 7892
- PyTime C API Added in version 3.13. クロック C API は、システムクロックへのアクセスを提供します。これは Python の time モジュールに似ています。 datetime モジュールに関連する C API については、 DateTime オブジェクト を参照してください。 型 t
...* result ) 単調クロックを読み取ります。 このクロックに関する重要な詳細は time.monotonic() を参照してください。 int PyTime_PerfCounter ( PyTime_t * result ) パフォーマンスカウンタを読み取ります。 このクロックに関する重要な詳細は time.perf_counter() を...ult ) PyTime_Monotonic() と同様ですが、エラー時に例外を設定せず、 アタッチされたスレッド状態 も必要としません。 int PyTime_PerfCounterRaw ( PyTime_t * result ) PyTime_PerfCounter() と同様ですが、エラー時に例外を設定せず、 アタッチされたスレッド状態 も... - https://man.mtool.work/python/3.14/c-api/time.html