{"id":6599,"date":"2012-11-30T15:07:44","date_gmt":"2012-11-30T20:07:44","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=6599"},"modified":"2012-11-30T15:08:09","modified_gmt":"2012-11-30T20:08:09","slug":"dtsendsignalflag","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/11\/30\/dtsendsignalflag\/","title":{"rendered":"DTSendSignalFlag"},"content":{"rendered":"<p><a href=\"http:\/\/invasivecode.tumblr.com\/post\/18677362251\/flags-very-useful-when-debugging-with\">Geppy Parziale<\/a>:<\/p>\n<blockquote cite=\"http:\/\/invasivecode.tumblr.com\/post\/18677362251\/flags-very-useful-when-debugging-with\"><p>Now, wherever you need to send a signal to Instruments from your app, you just add this line of code:<\/p>\n<pre>DTSendSignalFlag(\"com.invasivecode.mytracepoints.app.point\", DT_POINT_SIGNAL, TRUE);<\/pre><\/blockquote>\n<p>You can also mark sections using <code>DT_START_SIGNAL<\/code> and <code>DT_END_SIGNAL<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Geppy Parziale: Now, wherever you need to send a signal to Instruments from your app, you just add this line of code: DTSendSignalFlag(\"com.invasivecode.mytracepoints.app.point\", DT_POINT_SIGNAL, TRUE); You can also mark sections using DT_START_SIGNAL and DT_END_SIGNAL.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[225,30,71,226],"class_list":["post-6599","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-instruments","tag-mac","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=6599"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6599\/revisions"}],"predecessor-version":[{"id":6603,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/6599\/revisions\/6603"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=6599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=6599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=6599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}