Annotation of hatari/src/cpu/uae/time.h, revision 1.1

1.1     ! root        1: #ifndef UAE_TIME_H
        !             2: #define UAE_TIME_H
        !             3: 
        !             4: #include "uae/types.h"
        !             5: 
        !             6: /* frame_time_t is often cast to int in the code so we use int for now... */
        !             7: typedef uae_u32 uae_time_t;
        !             8: 
        !             9: void uae_time_init(void);
        !            10: void uae_time_calibrate(void);
        !            11: uae_time_t uae_time(void);
        !            12: 
        !            13: #ifdef _WIN32
        !            14: void uae_time_use_rdtsc(bool enable);
        !            15: uae_u32 read_system_time(void);
        !            16: #endif
        !            17: 
        !            18: typedef uae_time_t frame_time_t;
        !            19: 
        !            20: static inline frame_time_t read_processor_time(void)
        !            21: {
        !            22:        return uae_time();
        !            23: }
        !            24: 
        !            25: #endif /* UAE_TIME_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.