Embedded software frequently uses interrupts for timer or I/O processing. If a memory area is used by both an interrupt handler and other routines at the same time, the embedded system has the potential to fail because of unexpected data in the memory. To detect the race conditions of memory, this paper proposes a method of interrupt testing on a CPU emulator. The method consists of two features: one is interrupt generation at the instruction points that possibly causes race conditions; the other is replacing input value from external device to control interrupt handlers. An interrupt is generated just after the program reads or writes data on memory for the purpose of covering all possibility of sharing memory between the interrupt handler and other routines. Sequence of input value from the external device is prepared by hand before program execution. We have applied our method to testing for a race condition of uClinux. The experience of detecting race conditions has shown the mechanism causes interrupts at necessary and sufficient timing compared with random interrupt testing. Also, it is easy to substitute values in memory to detect race conditions.
To enable precise detection of mental and physical states of users in a daily life, we have been developing an eyewear to measure eye and body movement in a unrestricted way. The horizontal and vertical EOG (electrooculogram) signals are measured and amplified with three metal dry electrodes placed near nasion and both sides of rhinion, of which positions correspond to the bridge and nose pads of eyewear, respectively. The user's mental states like drowsiness, sleepiness, fatigue, or interest to objects can be identified by the movements and blinking of the eyes extracted from the measured EOG. And the six-axis motion sensor (three-axis accelerometer and three-axis gyroscope) mounted in the eyewear measures the body motion. As the sensor located near the head is on the body axis, this eyewear is suitable to measure user's movement or shift of center of gravity during physical exercise with a high precision. The measured signals are used to extract various events of eye and body movement by the mounted microcontroller chip, or can be transmitted to the external devices via Bluetooth communication. This device can enable you to look into "yourself", as well as outer scenes. In this presentation, the outline of the eyewear is introduced and some possible applications are shown.
Abstract-An identifier is one of the crucial elements for program readability. Method names in an object-oriented program are important identifiers because method names are used for understanding the behavior of the methods without reading a part of the program. It is well-known that each method name should consist of a verb and objects according to general guidelines. However, it is not easy to name methods consistently since each of the developers may have a different understanding of the verbs and objects used in the method names. As a first step to enable developers to name methods consistently and easily, we focus on the verbs used in the method names.In this paper, we present a technique to recommend candidate verbs for a method name so that developers can use consistent verbs for method names. Given a method, we recommend a list of verbs used in many other methods similar to the given method, by using association rules. We have extracted association rules from 445 OSS projects and applied these rules to two projects. As a result, the extracted rules could recommend the current verbs in the top 10 candidates for 60.6% of the methods covered by our approach. Furthermore, we have identified four meaningful groups of rules for verb recommendation.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.