Mercurial > ecos
comparison packages/kernel/current/tests/stress_threads.c @ 161:ac086aa3217e
Merge from eCos master repository on 2001-06-08-21:11:51-BST
| author | jlarmour |
|---|---|
| date | Sun, 10 Jun 2001 19:35:23 +0000 |
| parents | b65ec671dd4c |
| children | 678094f34118 |
comparison
equal
deleted
inserted
replaced
| 160:0d0f03f76f6a | 161:ac086aa3217e |
|---|---|
| 21 // The Original Code is eCos - Embedded Configurable Operating System, | 21 // The Original Code is eCos - Embedded Configurable Operating System, |
| 22 // released September 30, 1998. | 22 // released September 30, 1998. |
| 23 // | 23 // |
| 24 // The Initial Developer of the Original Code is Red Hat. | 24 // The Initial Developer of the Original Code is Red Hat. |
| 25 // Portions created by Red Hat are | 25 // Portions created by Red Hat are |
| 26 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | 26 // Copyright (C) 1998, 1999, 2000, 2001 Red Hat, Inc. |
| 27 // All Rights Reserved. | 27 // All Rights Reserved. |
| 28 // ------------------------------------------- | 28 // ------------------------------------------- |
| 29 // | 29 // |
| 30 //####COPYRIGHTEND#### | 30 //####COPYRIGHTEND#### |
| 31 //========================================================================== | 31 //========================================================================== |
| 664 tick_delay = (long long) | 664 tick_delay = (long long) |
| 665 ((1000000000.0*rtc_res.divisor) | 665 ((1000000000.0*rtc_res.divisor) |
| 666 *((double)DEATH_TIME_LIMIT)/((double)rtc_res.dividend)); | 666 *((double)DEATH_TIME_LIMIT)/((double)rtc_res.dividend)); |
| 667 if ( cyg_test_is_simulator ) | 667 if ( cyg_test_is_simulator ) |
| 668 tick_delay /= SIM_DELAY_DIVISOR; | 668 tick_delay /= SIM_DELAY_DIVISOR; |
| 669 #ifdef CYGPKG_HAL_I386_LINUX | 669 #ifdef CYGPKG_HAL_SYNTH |
| 670 // 20 seconds is a long time compared to the run time of other tests. | 670 // 20 seconds is a long time compared to the run time of other tests. |
| 671 // Reduce to 10 seconds, allowing more tests to get run. | 671 // Reduce to 10 seconds, allowing more tests to get run. |
| 672 tick_delay /= 2; | 672 tick_delay /= 2; |
| 673 #endif | 673 #endif |
| 674 | 674 |
