capturing and printing timestamps
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=3jkPFDJujmHOZDaefRCTfyrZmKGXn+rLhUATDVQ/7eo=; b=mvIlQ7gRMY2MTxibXkR9J1y0jYnR6pgUmYQ3OGCo/7Uj551vvEjXUCRPrlx7wZZf+k tTQBHUKiOHXfFiB8NhgO5ZhcuobxhjOn9qfpTdI8JWXnNPy03b8a5kSKq5yul+AVTWqk aVYDTamGj9aaSpHingwy7NoaBt/Hc4oiPjFrA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=m5jVoH7H62WtWBBTCL5wbZdgI1vxKgHrQ6Dmhn9Gafj1yMxTMKvtai+RG9fNd3jp9+ 1RIKB/rJvebiTRSpfON21A6csVaESbsPbxLcTOX7g9JtBhBelIyZt0Sxph0qRo4JVc2+ 0AhrfmkNCV79RoBUf7gSoRH5I7IaLHa9mCMK4= I need to capture packets in a circular buffer and timestamp them. I also need to print my buffer when certain conditions are met, e.g. on error. What is the most convenient way to capture a timestamp for later printing as a hh:mm:ss:xxx? Can I convert mach_absolute_time() into a time format? Thanks, Joel --- http://twitter.com/wagerlabs _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Joel Reymont