Lines Matching defs:PPM
32 @brief PPM instrumentation
41 void CameraHal::PPM(const char* str){
42 struct timeval ppm;
44 gettimeofday(&ppm, NULL);
45 ppm.tv_sec = ppm.tv_sec - ppm_start.tv_sec;
46 ppm.tv_sec = ppm.tv_sec * 1000000;
47 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec;
49 LOGD("PPM: %s :%ld.%ld ms", str, ( ppm.tv_sec /1000 ), ( ppm.tv_sec % 1000 ));
55 @brief PPM instrumentation
67 void CameraHal::PPM(const char* str){
68 struct timeval ppm;
71 gettimeofday(&ppm, NULL);
72 elapsed = ppm.tv_sec - ppm_start.tv_sec;
74 elapsed += ppm.tv_usec - ppm_start.tv_usec;
75 absolute = ppm.tv_sec;
77 absolute += ppm.tv_usec /1000;
79 LOGD("PPM: %s :%llu.%llu ms : %llu ms", str, ( elapsed /1000 ), ( elapsed % 1000 ), absolute);
87 @brief PPM instrumentation
96 void CameraHal::PPM(const char* str, struct timeval* ppm_first, ...){
98 struct timeval ppm;
104 gettimeofday(&ppm, NULL);
105 absolute = ppm.tv_sec;
107 absolute += ppm.tv_usec /1000;
108 ppm.tv_sec = ppm.tv_sec - ppm_first->tv_sec;
109 ppm.tv_sec = ppm.tv_sec * 1000000;
110 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_first->tv_usec;
112 LOGD("PPM: %s :%ld.%ld ms : %llu ms", temp_str, ( ppm.tv_sec /1000 ), ( ppm.tv_sec % 1000 ), absolute);