{ "info": { "author": "Ivan Kozik", "author_email": "ivan@ludios.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux" ], "description": "Monoclock\n=========\n\nMonoclock is a fast Python module that provides access to the\nmonotonic clock on Linux and OS X.\n\nCompatibility: tested on CPython 2.6.5, CPython 2.7, pypy 1.3,\nand pypy 1.4.\n\n\n\nUsage\n=====\n\n```\nimport monoclock\nt = monoclock.nano_count()\nprint t\n```\n\nIf you want seconds, divide `t` by `1e9`.\n\n\n\nInstallation\n============\n\nMake sure you have a C compiler and Python headers installed. On Ubuntu,\nthat can be done with\n\n```\nsudo apt-get install python-dev build-essential\n```\n\nThen, install Monoclock from PyPi:\n\n```\npip install --user Monoclock\n```\n\nor from the git repo:\n\n```\ngit clone https://github.com/ludios/Monoclock\ncd Monoclock\npip install --user .\n```\n\nor without pip:\n\n```\npython setup.py install --user\n```\n\nYou should now have the `monoclock` module installed.\n\nOptionally, run the tests with `python run_tests.py`\n\n\n\nMisc\n====\n\nIf you're having trouble with monotonic clocks, see:\n\n*\thttp://code-factor.blogspot.com/2009/11/monotonic-timers.html\n\n*\tFactor's source code.\n\n*\tChromium's source code.\n\n\n\nWishlist\n========\n\n*\tWindows support.\n\n*\tSolaris support (does it work?).\n\n*\tExpose `CLOCK_MONOTONIC_RAW` (which is not adjusted by NTP).\n\n*\tSupport buggy AMD chips, or expose a `probablyBuggy()`\n\tfunction that returns `True` if the monotonic clock is\n\tunreliable.\n\n\tNote: Chromium's `base/time_win.cc` just disables use of the\n\tmonotonic clock on Athlon X2 CPUs with\n\t`if (cpu.vendor_name() == \"AuthenticAMD\" && cpu.family() == 15`\n\n\n\nContributing\n============\n\nPatches and pull requests are welcome.\n\nThis coding standard applies: http://ludios.org/coding-standard/\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ludios/Monoclock", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "Monoclock", "package_url": "https://pypi.org/project/Monoclock/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Monoclock/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ludios/Monoclock" }, "release_url": "https://pypi.org/project/Monoclock/14.4.18/", "requires_dist": null, "requires_python": null, "summary": "Monotonic clock access for Python", "version": "14.4.18" }, "last_serial": 1064652, "releases": { "10.1.4": [ { "comment_text": "", "digests": { "md5": "bd192f8d7c56bd0032866556050e83ef", "sha256": "85c38bea63b4b4d764fc6b3bb78a231d97a011582971936c478621aca05e0869" }, "downloads": -1, "filename": "Monoclock-10.1.4.tar.gz", "has_sig": false, "md5_digest": "bd192f8d7c56bd0032866556050e83ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3129, "upload_time": "2011-05-02T16:26:58", "url": "https://files.pythonhosted.org/packages/82/11/4f6bc2e031f22d866bd14daa024239c1c5777ae76cc631771d8e0a2953a7/Monoclock-10.1.4.tar.gz" } ], "11.5.3": [ { "comment_text": "", "digests": { "md5": "835a28074d3142927db87247dbdcfbdd", "sha256": "a38d2e4c67a16bb0d0afe44f4b41b7aaf26087d15c3a1059fc30be94b2aac687" }, "downloads": -1, "filename": "Monoclock-11.5.3.tar.gz", "has_sig": false, "md5_digest": "835a28074d3142927db87247dbdcfbdd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3162, "upload_time": "2011-05-03T04:32:07", "url": "https://files.pythonhosted.org/packages/89/ee/b2083079a849395a78eafe24ef7a91f3257a895b70a4aa5ac3f1daff1792/Monoclock-11.5.3.tar.gz" } ], "14.4.18": [ { "comment_text": "", "digests": { "md5": "c73e01568afe186d2e2408a79a7be321", "sha256": "b726ef8c0998238c0624fb08bdaa3e3c5fe858f61d87f4b72d0fc5676ef6ac08" }, "downloads": -1, "filename": "Monoclock-14.4.18.tar.gz", "has_sig": false, "md5_digest": "c73e01568afe186d2e2408a79a7be321", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3592, "upload_time": "2014-04-18T19:47:51", "url": "https://files.pythonhosted.org/packages/06/8e/144b165b07438a142917d09985ce3c44465eb69cd76297a6ad951267c9d2/Monoclock-14.4.18.tar.gz" }, { "comment_text": "", "digests": { "md5": "d8e9a1f9a644c099ab6f6c614113b956", "sha256": "acbef6ac502586f93987291655ced2eaa599f54df9f4d5501b71eca3e21d25d8" }, "downloads": -1, "filename": "Monoclock-14.4.18.zip", "has_sig": false, "md5_digest": "d8e9a1f9a644c099ab6f6c614113b956", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4635, "upload_time": "2014-04-18T19:47:55", "url": "https://files.pythonhosted.org/packages/7d/85/7f1084109afd3a4272339b10bd53396654e8babd1870ca122ff6176c49cb/Monoclock-14.4.18.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c73e01568afe186d2e2408a79a7be321", "sha256": "b726ef8c0998238c0624fb08bdaa3e3c5fe858f61d87f4b72d0fc5676ef6ac08" }, "downloads": -1, "filename": "Monoclock-14.4.18.tar.gz", "has_sig": false, "md5_digest": "c73e01568afe186d2e2408a79a7be321", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3592, "upload_time": "2014-04-18T19:47:51", "url": "https://files.pythonhosted.org/packages/06/8e/144b165b07438a142917d09985ce3c44465eb69cd76297a6ad951267c9d2/Monoclock-14.4.18.tar.gz" }, { "comment_text": "", "digests": { "md5": "d8e9a1f9a644c099ab6f6c614113b956", "sha256": "acbef6ac502586f93987291655ced2eaa599f54df9f4d5501b71eca3e21d25d8" }, "downloads": -1, "filename": "Monoclock-14.4.18.zip", "has_sig": false, "md5_digest": "d8e9a1f9a644c099ab6f6c614113b956", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4635, "upload_time": "2014-04-18T19:47:55", "url": "https://files.pythonhosted.org/packages/7d/85/7f1084109afd3a4272339b10bd53396654e8babd1870ca122ff6176c49cb/Monoclock-14.4.18.zip" } ] }