If the function is part of the CLIENT_STATE class then now is equivalent to gstate.now.
In a more common variable naming scheme now would have been named m_now to demonstrate it is a member variable of the class. ----- Rom I can see that 'now' is declared as a double in client_state.h, and client_state.h is included in cpu_sched.cpp - so we should be within scope. The value of 'now' is assigned at various points in client_state.cpp - in init do_io_or_sleep poll_slow_events the assignment is now = dtime(), and in check_clock_reset it's now = time(0) Are dtime() and time(0) synonyms? _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
