{"id":766,"date":"2025-04-18T16:03:15","date_gmt":"2025-04-18T08:03:15","guid":{"rendered":"https:\/\/www.im-zu.cn\/?p=766"},"modified":"2025-04-18T16:19:42","modified_gmt":"2025-04-18T08:19:42","slug":"%e6%95%8f%e6%8d%b7%e7%bc%96%e7%a8%8b%e7%ac%94%e8%ae%b0%ef%bc%882%ef%bc%89%ef%bc%9ans%e7%ba%a7%e6%97%b6%e9%97%b4%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.im-zu.cn\/?p=766","title":{"rendered":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406"},"content":{"rendered":"\n<p>\u5728\u6211\u6240\u7814\u7a76\u7684\u9886\u57df\u4e2d\uff0c\u901a\u5e38\u7a0b\u5e8f\u54cd\u5e94\u9700\u8981\u5728ns\u7ea7\u522b\u7cbe\u5ea6\u5904\u7406\u3002\u8fd9\u5c31\u9020\u6210\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u5373\u9ed8\u8ba4\u7684\u65f6\u95f4\u6233\u7cbe\u5ea6\u662f\u79d2\u7ea7\u7684\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"```python\n\nimport time\n\ntimestamp = time.time()\nprint(round(timestamp, 6))\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">```<\/span><span style=\"color: #A3BE8C\">python<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">import time<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">timestamp = time.time()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">print(round(timestamp, 6))<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u7136\u800c\uff0c\u8fd9\u79cd\u53ea\u80fd\u662f\u6253\u5370\u51fa\u6700\u59276\u4f4d\u6570\u7684\u65f6\u95f4\u6233\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\uff0c\u7eb3\u79d2\u7cbe\u5ea6\u5904\u7406\u53ea\u80fd\u9700\u8981datetime\u548ctime\u6765\u7ec4\u5408\u4f7f\u7528<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import datetime\n\nnow = datetime.datetime.now()\nprint(now)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">datetime<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">datetime<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">datetime<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u6240\u5f97\u7ed3\u679c\u4e3a<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"2025-04-18 16:10:11.282009\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B48EAD\">2025<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #B48EAD\">04<\/span><span style=\"color: #81A1C1\">-<\/span><span style=\"color: #B48EAD\">18<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #B48EAD\">16<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #B48EAD\">10<\/span><span style=\"color: #D8DEE9FF\">:<\/span><span style=\"color: #B48EAD\">11.282009<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u7eb3\u79d2\u7ea7\u65f6\u95f4\u6233\uff0c\u5219\u8003\u8651<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import datetime\nimport time\n\nnow = datetime.datetime.now()\nns_timestamp = int(time.clock_gettime(time.CLOCK_REALTIME_NS))\n\nprint(now)\nprint(ns_timestamp)\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">datetime<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">time<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">datetime<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">datetime<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\">()<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">ns_timestamp<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">int<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">clock_gettime<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">CLOCK_REALTIME_NS<\/span><span style=\"color: #D8DEE9FF\">))<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">now<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">ns_timestamp<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u5176\u4e2d\uff0ctime.clock_gettime()\u51fd\u6570\u83b7\u53d6\u4e86\u7eb3\u79d2\u7ea7\u7684\u65f6\u95f4\u6233\u3002<\/p>\n\n\n\n<p>\u5173\u952e\u7684\u662f\u65f6\u95f4\u95f4\u9694\u8ba1\u7b97\uff0ctimedelta\u5bf9\u8c61\u7684\u7cbe\u5ea6\u53ea\u80fd\u5230\u8fbems\u7ea7\uff0c\u4f46\u662f\u4e0d\u80fd\u5230ns\u7ea7\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5b9e\u4f8b\u5e94\u7528<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\u7a0b\u5e8f\u6267\u884c\u65f6\u95f4<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"import time\n\nstart_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)\n\n# \u6267\u884c\u4e00\u6bb5\u9700\u8981\u6d4b\u91cf\u7684\u4ee3\u7801\nfor i in range(1000000):\n    pass\n\nend_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)\n\nexecution_time = end_time - start_time\nprint(f&quot;\u7a0b\u5e8f\u6267\u884c\u65f6\u95f4\uff1a{execution_time} \u79d2&quot;)\n\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #81A1C1\">import<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">time<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">start_time<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">clock_gettime<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">CLOCK_MONOTONIC_RAW<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\"># <\/span><span style=\"color: #8FBCBB\">\u6267\u884c\u4e00\u6bb5\u9700\u8981\u6d4b\u91cf\u7684\u4ee3\u7801<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">for<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">i<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">in<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">range<\/span><span style=\"color: #D8DEE9FF\">(1000000):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #8FBCBB\">pass<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">end_time<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">clock_gettime<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">time<\/span><span style=\"color: #D8DEE9FF\">.<\/span><span style=\"color: #8FBCBB\">CLOCK_MONOTONIC_RAW<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">execution_time<\/span><span style=\"color: #D8DEE9FF\"> = <\/span><span style=\"color: #8FBCBB\">end_time<\/span><span style=\"color: #D8DEE9FF\"> - <\/span><span style=\"color: #8FBCBB\">start_time<\/span><\/span>\n<span class=\"line\"><span style=\"color: #8FBCBB\">print<\/span><span style=\"color: #D8DEE9FF\">(<\/span><span style=\"color: #8FBCBB\">f<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">\u7a0b\u5e8f\u6267\u884c\u65f6\u95f4\uff1a{execution_time} \u79d2<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #D8DEE9FF\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u7eb3\u79d2\u7ea7\u5b9a\u65f6\u4efb\u52a1\uff08\u9ad8\u9891\u4ea4\u6613\u7cfb\u7edf\uff09<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" data-code=\"```python\n\nimport time\n\ndef task():\n    print(&quot;\u6267\u884c\u5b9a\u65f6\u4efb\u52a1&quot;)\n\ndef nanosecond_timer(interval):\n    start_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)\n\n    while True:\n    # time_clock_gettime\u662f\u83b7\u53d6\u7eb3\u79d2\u7ea7\u7684\u65f6\u95f4\u6233\n        current_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)\n        elapsed_time = current_time - start_time\n\n        if elapsed_time &gt;= interval:\n            start_time = current_time\n            task()\n\n        # \u964d\u4f4eCPU\u5360\u7528\u7387\n        time.sleep(1e-9)\n\nnanosecond_timer(1e-9)  # \u6bcf\u7eb3\u79d2\u6267\u884c\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1\n\n```\" style=\"color:#d8dee9ff;display:none\" aria-label=\"\u590d\u5236\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ECEFF4\">```<\/span><span style=\"color: #A3BE8C\">python<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">import time<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">def task():<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">    print(&quot;\u6267\u884c\u5b9a\u65f6\u4efb\u52a1&quot;)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">def nanosecond_timer(interval):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">    start_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">    while True:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">    # time_clock_gettime\u662f\u83b7\u53d6\u7eb3\u79d2\u7ea7\u7684\u65f6\u95f4\u6233<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">        current_time = time.clock_gettime(time.CLOCK_MONOTONIC_RAW)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">        elapsed_time = current_time - start_time<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">        if elapsed_time &gt;= interval:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">            start_time = current_time<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">            task()<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">        # \u964d\u4f4eCPU\u5360\u7528\u7387<\/span><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">        time.sleep(1e-9)<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #A3BE8C\">nanosecond_timer(1e-9)  # \u6bcf\u7eb3\u79d2\u6267\u884c\u4e00\u6b21\u5b9a\u65f6\u4efb\u52a1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">```<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u5176\u4e2d\uff0c\u4e3a\u4e86\u5728\u6bcf\u6b21\u5faa\u73af\u4e2d\u52a0\u5165time.sleep()\u51fd\u6570\uff0c\u4f7f\u7ebf\u7a0b\u6682\u505c1ns\uff0c\u53ef\u4ee5\u51cf\u5c11\u5faa\u73af\u7684\u6267\u884c\u6b21\u6570\uff0c\u63d0\u9ad8\u7cfb\u7edf\u6027\u80fd\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6211\u6240\u7814\u7a76\u7684\u9886\u57df\u4e2d\uff0c\u901a\u5e38\u7a0b\u5e8f\u54cd\u5e94\u9700\u8981\u5728ns\u7ea7\u522b\u7cbe\u5ea6\u5904\u7406\u3002\u8fd9\u5c31\u9020\u6210\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u5373\u9ed8\u8ba4\u7684\u65f6\u95f4\u6233\u7cbe\u5ea6\u662f\u79d2\u7ea7\u7684\u3002 \u7136\u800c&hellip; <a class=\"more-link\" href=\"https:\/\/www.im-zu.cn\/?p=766\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":689,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[111,121,110],"class_list":["post-766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-geek","tag-python","tag-121","tag-110","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.im-zu.cn\/?p=766\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005\" \/>\n<meta property=\"og:description\" content=\"\u5728\u6211\u6240\u7814\u7a76\u7684\u9886\u57df\u4e2d\uff0c\u901a\u5e38\u7a0b\u5e8f\u54cd\u5e94\u9700\u8981\u5728ns\u7ea7\u522b\u7cbe\u5ea6\u5904\u7406\u3002\u8fd9\u5c31\u9020\u6210\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u5373\u9ed8\u8ba4\u7684\u65f6\u95f4\u6233\u7cbe\u5ea6\u662f\u79d2\u7ea7\u7684\u3002 \u7136\u800c&hellip; \u7ee7\u7eed\u9605\u8bfb\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.im-zu.cn\/?p=766\" \/>\n<meta property=\"og:site_name\" content=\"Skylighter | \u5411\u5149\u8005\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T08:03:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-18T08:19:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1678\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766\"},\"author\":{\"name\":\"Editor\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#\\\/schema\\\/person\\\/64e69bc34a83d4ee17b6e12c086f98a4\"},\"headline\":\"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406\",\"datePublished\":\"2025-04-18T08:03:15+00:00\",\"dateModified\":\"2025-04-18T08:19:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766\"},\"wordCount\":13,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#\\\/schema\\\/person\\\/64e69bc34a83d4ee17b6e12c086f98a4\"},\"image\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png\",\"keywords\":[\"Python\",\"\u65f6\u95f4\u5904\u7406\",\"\u7f16\u7a0b\u7b14\u8bb0\"],\"articleSection\":[\"\u6781\u5ba2 Geek\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766\",\"url\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766\",\"name\":\"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png\",\"datePublished\":\"2025-04-18T08:03:15+00:00\",\"dateModified\":\"2025-04-18T08:19:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.im-zu.cn\\\/?p=766\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#primaryimage\",\"url\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png\",\"contentUrl\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png\",\"width\":1678,\"height\":880},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/?p=766#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.im-zu.cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#website\",\"url\":\"https:\\\/\\\/www.im-zu.cn\\\/\",\"name\":\"Skylighter | \u5411\u5149\u8005\",\"description\":\"\u987a\u5149\u800c\u751f \u4ece\u5584\u800c\u884c\uff08\u539f\u9633\u5149\u7684\u8bfb\u535a\u65e5\u5fd7\uff09\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#\\\/schema\\\/person\\\/64e69bc34a83d4ee17b6e12c086f98a4\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.im-zu.cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/#\\\/schema\\\/person\\\/64e69bc34a83d4ee17b6e12c086f98a4\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png\",\"url\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png\",\"contentUrl\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png\",\"width\":1323,\"height\":500,\"caption\":\"Editor\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.im-zu.cn\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png\"},\"url\":\"https:\\\/\\\/www.im-zu.cn\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.im-zu.cn\/?p=766","og_locale":"zh_CN","og_type":"article","og_title":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005","og_description":"\u5728\u6211\u6240\u7814\u7a76\u7684\u9886\u57df\u4e2d\uff0c\u901a\u5e38\u7a0b\u5e8f\u54cd\u5e94\u9700\u8981\u5728ns\u7ea7\u522b\u7cbe\u5ea6\u5904\u7406\u3002\u8fd9\u5c31\u9020\u6210\u4e86\u4e00\u4e2a\u95ee\u9898\uff0c\u5373\u9ed8\u8ba4\u7684\u65f6\u95f4\u6233\u7cbe\u5ea6\u662f\u79d2\u7ea7\u7684\u3002 \u7136\u800c&hellip; \u7ee7\u7eed\u9605\u8bfb\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406","og_url":"https:\/\/www.im-zu.cn\/?p=766","og_site_name":"Skylighter | \u5411\u5149\u8005","article_published_time":"2025-04-18T08:03:15+00:00","article_modified_time":"2025-04-18T08:19:42+00:00","og_image":[{"width":1678,"height":880,"url":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png","type":"image\/png"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"Editor","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.im-zu.cn\/?p=766#article","isPartOf":{"@id":"https:\/\/www.im-zu.cn\/?p=766"},"author":{"name":"Editor","@id":"https:\/\/www.im-zu.cn\/#\/schema\/person\/64e69bc34a83d4ee17b6e12c086f98a4"},"headline":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406","datePublished":"2025-04-18T08:03:15+00:00","dateModified":"2025-04-18T08:19:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.im-zu.cn\/?p=766"},"wordCount":13,"commentCount":0,"publisher":{"@id":"https:\/\/www.im-zu.cn\/#\/schema\/person\/64e69bc34a83d4ee17b6e12c086f98a4"},"image":{"@id":"https:\/\/www.im-zu.cn\/?p=766#primaryimage"},"thumbnailUrl":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png","keywords":["Python","\u65f6\u95f4\u5904\u7406","\u7f16\u7a0b\u7b14\u8bb0"],"articleSection":["\u6781\u5ba2 Geek"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.im-zu.cn\/?p=766#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.im-zu.cn\/?p=766","url":"https:\/\/www.im-zu.cn\/?p=766","name":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406 - Skylighter | \u5411\u5149\u8005","isPartOf":{"@id":"https:\/\/www.im-zu.cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.im-zu.cn\/?p=766#primaryimage"},"image":{"@id":"https:\/\/www.im-zu.cn\/?p=766#primaryimage"},"thumbnailUrl":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png","datePublished":"2025-04-18T08:03:15+00:00","dateModified":"2025-04-18T08:19:42+00:00","breadcrumb":{"@id":"https:\/\/www.im-zu.cn\/?p=766#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.im-zu.cn\/?p=766"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.im-zu.cn\/?p=766#primaryimage","url":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png","contentUrl":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/04\/\u5c4f\u5e55\u622a\u56fe-2025-04-10-172026.png","width":1678,"height":880},{"@type":"BreadcrumbList","@id":"https:\/\/www.im-zu.cn\/?p=766#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.im-zu.cn\/"},{"@type":"ListItem","position":2,"name":"\u654f\u6377\u7f16\u7a0b\u7b14\u8bb0\uff082\uff09\uff1ans\u7ea7\u65f6\u95f4\u5904\u7406"}]},{"@type":"WebSite","@id":"https:\/\/www.im-zu.cn\/#website","url":"https:\/\/www.im-zu.cn\/","name":"Skylighter | \u5411\u5149\u8005","description":"\u987a\u5149\u800c\u751f \u4ece\u5584\u800c\u884c\uff08\u539f\u9633\u5149\u7684\u8bfb\u535a\u65e5\u5fd7\uff09","publisher":{"@id":"https:\/\/www.im-zu.cn\/#\/schema\/person\/64e69bc34a83d4ee17b6e12c086f98a4"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.im-zu.cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"https:\/\/www.im-zu.cn\/#\/schema\/person\/64e69bc34a83d4ee17b6e12c086f98a4","name":"Editor","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/02\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png","url":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/02\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png","contentUrl":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/02\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png","width":1323,"height":500,"caption":"Editor"},"logo":{"@id":"https:\/\/www.im-zu.cn\/wp-content\/uploads\/2025\/02\/\u5c4f\u5e55\u622a\u56fe-2025-02-11-171316.png"},"url":"https:\/\/www.im-zu.cn\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/posts\/766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=766"}],"version-history":[{"count":2,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/posts\/766\/revisions"}],"predecessor-version":[{"id":769,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/posts\/766\/revisions\/769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=\/wp\/v2\/media\/689"}],"wp:attachment":[{"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.im-zu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}