{"title":"使用面向方面编程方法对线程行为进行基于度量的分析","authors":"Oral Alan, N. Erdogan","doi":"10.1109/CSAE.2011.5952416","DOIUrl":null,"url":null,"abstract":"Understanding thread behavior makes multi-threaded programming easier. Thread behavior can be observed by calculating metrics that are driven from thread state changes and time durations spent in those states. This paper presents the design and implementation of a new thread profiler that builds on aspect-oriented programming (AOP) approach and its use on multi-threaded applications. The new profiler differs from existing profilers in that it adopts a metrics based approach, calculating certain metrics for threads profiled. Also presented is a method to retrieve exact time information at the machine level from the JVM context. The paper concludes with a description of results obtained for thread profiling and metric calculations and a comparison of the overhead the profiler introduces with that of other profilers.","PeriodicalId":138215,"journal":{"name":"2011 IEEE International Conference on Computer Science and Automation Engineering","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Metrics-based analysis of thread behavior using an aspect-oriented programming approach\",\"authors\":\"Oral Alan, N. Erdogan\",\"doi\":\"10.1109/CSAE.2011.5952416\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Understanding thread behavior makes multi-threaded programming easier. Thread behavior can be observed by calculating metrics that are driven from thread state changes and time durations spent in those states. This paper presents the design and implementation of a new thread profiler that builds on aspect-oriented programming (AOP) approach and its use on multi-threaded applications. The new profiler differs from existing profilers in that it adopts a metrics based approach, calculating certain metrics for threads profiled. Also presented is a method to retrieve exact time information at the machine level from the JVM context. The paper concludes with a description of results obtained for thread profiling and metric calculations and a comparison of the overhead the profiler introduces with that of other profilers.\",\"PeriodicalId\":138215,\"journal\":{\"name\":\"2011 IEEE International Conference on Computer Science and Automation Engineering\",\"volume\":\"20 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2011-06-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2011 IEEE International Conference on Computer Science and Automation Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CSAE.2011.5952416\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 IEEE International Conference on Computer Science and Automation Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSAE.2011.5952416","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Metrics-based analysis of thread behavior using an aspect-oriented programming approach
Understanding thread behavior makes multi-threaded programming easier. Thread behavior can be observed by calculating metrics that are driven from thread state changes and time durations spent in those states. This paper presents the design and implementation of a new thread profiler that builds on aspect-oriented programming (AOP) approach and its use on multi-threaded applications. The new profiler differs from existing profilers in that it adopts a metrics based approach, calculating certain metrics for threads profiled. Also presented is a method to retrieve exact time information at the machine level from the JVM context. The paper concludes with a description of results obtained for thread profiling and metric calculations and a comparison of the overhead the profiler introduces with that of other profilers.