Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
cbcd8d79
Kaydet (Commit)
cbcd8d79
authored
Ock 14, 1994
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make more robust against Minix and Mac
üst
4de6cbcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
timing.h
Modules/timing.h
+14
-2
timingmodule.c
Modules/timingmodule.c
+8
-3
No files found.
Modules/timing.h
Dosyayı görüntüle @
cbcd8d79
...
...
@@ -37,9 +37,12 @@
* Author: George V. Neville-Neil
*
* Update History: $Log$
* Update History: Revision 2.
1 1994/01/02 23:22:19
guido
* Update History:
Added George Neville-Neil's timing module
* Update History: Revision 2.
2 1994/01/14 16:55:47
guido
* Update History:
Make more robust against Minix and Mac
* Update History:
* Revision 2.1 1994/01/02 23:22:19 guido
* Added George Neville-Neil's timing module
*
* Revision 1.1 93/12/28 13:14:19 gnn
* Initial revision
*
...
...
@@ -62,7 +65,16 @@
#ifndef _TIMING_H_
#define _TIMING_H_
#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
/* !TIME_WITH_SYS_TIME */
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else
/* !HAVE_SYS_TIME_H */
#include <time.h>
#endif
/* !HAVE_SYS_TIME_H */
#endif
/* !TIME_WITH_SYS_TIME */
static
struct
timeval
aftertp
,
beforetp
;
...
...
Modules/timingmodule.c
Dosyayı görüntüle @
cbcd8d79
...
...
@@ -5,9 +5,12 @@
* Author: George V. Neville-Neil
*
* Update History: $Log$
* Update History: Revision 2.
1 1994/01/02 23:22:21
guido
* Update History:
Added George Neville-Neil's timing module
* Update History: Revision 2.
2 1994/01/14 16:55:50
guido
* Update History:
Make more robust against Minix and Mac
* Update History:
* Revision 2.1 1994/01/02 23:22:21 guido
* Added George Neville-Neil's timing module
*
* Revision 1.1 93/12/28 13:14:39 gnn
* Initial revision
*
...
...
@@ -17,8 +20,10 @@
*/
#ifndef lint
#ifndef THINK_C
static
char
rcsid
[]
=
"$Header$"
;
#endif
#endif
/* THINK_C */
#endif
/* lint */
#include "allobjects.h"
#include "import.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment