Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!ucsd!sdics!carrier From: carrier@sdics.ucsd.EDU (Mark Carrier) Newsgroups: comp.sys.mac.programmer Subject: Millisecond timing on Mac II Summary: Can convenient millisecond timing be achieved? Message-ID: <626@sdics.ucsd.EDU> Date: 6 Sep 88 23:02:46 GMT References: <1325UD040164@NDSUVM1> <13946@agate.BERKELEY.EDU> Reply-To: carrier@sdics.UUCP (Mark Carrier) Organization: U.C. San Diego, Institute for Cognitive Science Lines: 20 I am trying to get accurate millisecond timing on a Mac II. I want to record subject reaction times where the responses are keypresses. Installing a task via the Time Manager seems the most promising approach, where the task simply increments a global counter every millisecond. The only problem is that there does not seem to be a convenient way of making the task be executed every millisecond. Calling the routine PrimeTime from within the task itself to reschedule its execution does not work (the Mac crashes). Does anybody know a convenient (or any) way of doing this? Is it possible? If not, is there some other (perhaps lower-level) way of achieving millisecond timing? Any and all suggestions are appreciated. This timing problem seems solvable on the Mac II, someone must have already done such timing for some application?!! Mark Carrier