#endif
s32 time = 0, pre_time = 0;
+#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
exynos_ss_dm((int)dm_type, min_freq, max_freq, pre_time, time);
-
+#endif
do_gettimeofday(&pre);
mutex_lock(&exynos_dm->lock);
do_gettimeofday(&before);
time = (after.tv_sec - before.tv_sec) * USEC_PER_SEC +
(after.tv_usec - before.tv_usec);
+#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
exynos_ss_dm((int)dm_type, min_freq, max_freq, pre_time, time);
+#endif
return 0;
}
struct timeval pre, before, after;
s32 time = 0, pre_time = 0;
+#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
exynos_ss_dm((int)dm_type, *target_freq, 1, pre_time, time);
-
+#endif
do_gettimeofday(&pre);
mutex_lock(&exynos_dm->lock);
do_gettimeofday(&before);
time = (after.tv_sec - before.tv_sec) * USEC_PER_SEC +
(after.tv_usec - before.tv_usec);
+#ifdef CONFIG_EXYNOS_SNAPSHOT_DM
exynos_ss_dm((int)dm_type, *target_freq, 3, pre_time, time);
+#endif
return 0;
}