Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
基礎情報処理演習(補足)実行時間の測定
Search
自然言語処理研究室
December 07, 2012
Programming
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
基礎情報処理演習(補足)実行時間の測定
自然言語処理研究室
December 07, 2012
More Decks by 自然言語処理研究室
See All by 自然言語処理研究室
データサイエンス14_システム.pdf
jnlp
0
430
データサイエンス13_解析.pdf
jnlp
0
550
データサイエンス12_分類.pdf
jnlp
0
380
データサイエンス11_前処理.pdf
jnlp
0
510
Recurrent neural network based language model
jnlp
0
190
自然言語処理研究室 研究概要(2012年)
jnlp
0
170
自然言語処理研究室 研究概要(2013年)
jnlp
0
130
自然言語処理研究室 研究概要(2014年)
jnlp
0
160
自然言語処理研究室 研究概要(2015年)
jnlp
0
240
Other Decks in Programming
See All in Programming
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
230
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
800
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
気持ちぃ〜角丸 Squircle
ryu1013
0
320
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
ChromeでローカルLLM
ryu1013
0
140
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Mind Mapping
helmedeiros
1
400
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
The Cult of Friendly URLs
andyhume
79
7k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
First, design no harm
axbom
PRO
2
1.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Making Projects Easy
brettharned
120
6.8k
Visualization
eitanlees
153
17k
Leo the Paperboy
mayatellez
10
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Transcript
基礎情報処理演習(補足) 実行時間の測定 山本和英 長岡技術科学大学 1
プログラム例 #include <stdio.h> #include <time.h> void main(void){ clock_t start_time, end_time;
start_time = clock(); /* 測定したい処理をここに書く */ end_time = clock(); printf ("time = %.3f\n", (double) (end_time – start_time) / CLOCKS_PER_SEC ); } ※測定精度は 0.1秒程度のようです。 2
解説 #include <stdio.h> #include <time.h> void main(void){ clock_t start_time, end_time;
start_time = clock(); /* 測定したい処理をここに書く */ end_time = clock(); printf ("time = %.3f\n", (double) (end_time – start_time) / CLOCKS_PER_SEC ); } 3 測定開始時刻を記録 測定終了時刻を記録 clock()と CLOCKS_PER_SECが定義
解説(続き) #include <stdio.h> #include <time.h> void main(void){ clock_t start_time, end_time;
start_time = clock(); /* 測定したい処理をここに書く */ end_time = clock(); printf ("time = %.3f\n", (double) (end_time – start_time) / CLOCKS_PER_SEC ); } 4 両者の時刻差を CLOCKS_PER_SECで 割って秒に直す