wsample.msg

来自「开放源码的编译器open watcom 1.6.0版的源代码」· MSG 代码 · 共 283 行 · 第 1/2 页

MSG
283
字号
pick( ERR_DISK_FULL,        "廳戝側僄儔乕:僨傿僗僋偑偄偭傁偄偱偡",
                "Fatal Error: Disk full." )
pick( ERR_SAMPLES_LOST,     "僄儔乕:僒儞僾儕儞僌丒僨乕僞偺堦晹偑幐傢傟傑偟偨",
                "Error: some samples have been lost" )
pick( ERR_SAMPLE_TRUNCATE,  "僄儔乕:僨傿僗僋偺嬻偒椞堟偑晄懌偱偡.僒儞僾儖僼傽僀儖傪愗傝媗傔傑偡 ",
                "Error: Out of disk space. Sample file truncated" )
pick( MSG_EXPECTING,        "'=' 傑偨偼 '#' 偑偁傞傋偒売強偵師偺僐乕僪偑偁傝傑偟偨: ",
                "Expecting either a '=' or a '#' instead found: " )
pick( MSG_INVALID_CHAR,     "悢帤偺屻偵柍岠側暥帤偑偁傝傑偡",
                "Invalid character after number" )
pick( MSG_OUT_OF_RANGE,     "悢帤偑桳岠斖埻撪偵偁傝傑偣傫",
                "number is outside of its allowable range" )
pick( MSG_SAMPLE_BUFF,      "僒儞僾儕儞僌梡僶僢僼傽偺儊儌儕偑妋曐偱偒傑偣傫",
                "Can't allocate sample buffer" )
pick( MSG_CALLGRAPH_BUFF,   "僐乕儖僌儔僼梡僶僢僼傽偺儊儌儕傪妋曐偱偒傑偣傫",
                "Can't allocate callgraph buffer" )
pick( MSG_VERSION,      "偙偺僶乕僕儑儞偺僆儁儗乕僥傿儞僌丒僔僗僥儉偺忋偱偼摦嶌偱偒傑偣傫",
                "Can't work with this version of the operating system" )
pick( MSG_SAMPLE_FILE,      "僒儞僾儖僼傽僀儖傪僆乕僾儞偱偒傑偣傫",
                "Can't open sample file" )
pick( MSG_PROGRAM,      "僾儘僌儔儉偑尒偮偐傝傑偣傫: ",
                "Can't find program: " )
pick( MSG_BUFF_SMALL,       "僞僀儅乕娫妘偵懳偟偰僶僢僼傽偑彫偝偡偓傑偡",
                "Buffer size too small for timer rate" )
pick( MSG_INVALID_OPTION,   "柍岠側僆僾僔儑儞: ",
                "invalid option: " )

pick( MSG_USAGE_LN_1,       "巊梡曽朄: wsample [options] program [program arguments]\n",
                "Usage: wsample [options] program [program arguments]\n" )
pick( MSG_USAGE_LN_2,       "僆僾僔儑儞:\n",
                "Options:\n" )
#ifndef WIN
pick( MSG_USAGE_LN_3,       "    -b=<size> 僒儞僾儕儞僌梡僶僢僼傽僒僀僘 (棉太倌: 63KB)\n",
                "    -b=<size> specify the buffer size for samples (default: 63KB)\n" )
#endif
pick( MSG_USAGE_LN_4,       "    -c        僐乕儖僌儔僼忣曬傪僒儞僾儖僼傽僀儖偵娷傔傑偡\n",
                "    -c        callgraph information is to be included in the sample file\n" )
pick( MSG_USAGE_LN_5,       "    -f=<file> 僒儞僾儖僼傽僀儖偺僼傽僀儖柤\n",
                "    -f=<file> specify the output filename for the sample file\n" )
#if defined(NLM)
pick( MSG_USAGE_LN_6,
    "    -o=<tmct> Specify a count to be used to reset the timer at unload\n",
    "    -o=<tmct> Specify a count to be used to reset the timer at unload\n" )
pick( MSG_USAGE_LN_7,
    "    -e        Estimate the timer terminal count for -o= (see above)\n",
    "    -e        Estimate the timer terminal count for -o= (see above)\n" )
#endif

pick( MSG_OPTIONS_1,        "    -r=<rate> 僒儞僾儕儞僌娫妘\n",
                "    -r=<rate> specify the sampling rate\n" )
#ifdef DOS      /* messages in sampdos */
pick( MSG_OPTIONS_2,        "    -i=<intr> 僒儞僾儕儞僌傪峴偆妱崬傒斣崋\n",
                "    -i=<intr> specify an interrupt number for assigning samples\n" )
pick( MSG_OPTIONS_3,        "    -d        DOS妱崬傒偺娔帇偺嬛巭\n",
                "    -d        disable assignment of DOS interrupts to application\n" )
#endif

#if defined(OS2) || defined(OS22)      /* messages in sampos2 and sampos22 */
pick( MSG_OPTIONS_2,        "    -s        怴偟偄僙僢僔儑儞偱偺僾儘僌儔儉偺奐巒\n",
                "    -s        start the program in a new session\n" )
#endif

#ifndef WIN
pick( MSG_USAGE_LN_8,       "\n    <size>    偼 1 偐傜 63 傑偱偺斖埻偱偡 (棉太倌: 63 KB)\n",
                "\n    <size>    is a number in the range 1 to 63 (default: 63 KB)\n" )
#endif

#ifdef DOS      /* messages in sampdos */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘(胸昩扨埵)傪\n",
                "    <rate>    is a number (range 1 to 55) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "              巜掕偡傞悢抣(斖埻:1偐傜55傑偱)偱偡 (棉太倌: 55)\n",
                "              time interval (in milliseconds) between samples (default: 55)\n" )
pick( MSG_EXPLAIN_3,        "    <intr>    偼16恑悢(斖埻:20偐傜ff傑偱)偱丄埲壓偺摿暿側曽朄偱張棟偡傞\n",
                "    <intr>    is a hex (base 16) number (range 20 to ff) specifying\n" )
pick( MSG_EXPLAIN_4,        "              妱崬傒斣崋偱偡 - \n",
                "              an interrupt number to treat in a special manner - \n" )
pick( MSG_EXPLAIN_5,        "              僜僼僩僂僃傾妱崬傒幚峴拞偺僒儞僾儕儞僌偼丄妱崬傒傪敪惗偟偨柦椷偵\n",
                "              any samples during the execution of the software interrupt\n" )
pick( MSG_EXPLAIN_6,        "              妱傝摉偰傑偡\n",
                "              are assigned to the instruction that invoked the interrupt\n" )
pick( MSG_EXPLAIN_7,        "              (棉太倌: DOS 妱崬傒 21 偑悠腊偝傟偰偄傑偡)\n",
                "              (default: the DOS interrupt 21 is monitored)\n" )
#endif

#if defined(OS2) || defined(OS22)      /* messages in sampos2 and sampos22 */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 1000) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "              巜掕偡傞悢抣 (斖埻:27 偐傜 1000傑偱) 偱偡 (棉太倌: 55)\n",
                "              time interval (in milliseconds) between samples (default: 55)\n" )
#endif

#ifdef LINUX      /* messages in samplinux */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 1000) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "              巜掕偡傞悢抣 (斖埻:27 偐傜 1000傑偱) 偱偡 (棉太倌: 10)\n",
                "              time interval (in milliseconds) between samples (default: 10)\n" )
#endif

#if defined(PLS) || defined(NLM)      /* messages in samppls and sampnlm */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 55) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 55) specifying the approximate\n" )
pick( MSG_EXPLAIN_3,        "              巜掕偡傞悢抣 (斖埻:1 偐傜 55傑偱) 偱偡 (棉太倌: 55)\n",
                "              time interval (in milliseconds) between samples (default: 55)\n" )
pick( MSG_EXPLAIN_4,        "              拲堄: 偙偺僗僀僢僠偺巊梡偵偼拲堄偟偰偔偩偝偄.僾儘僌儔儉幚峴拞偺\n",
                "              NB: use this switch with caution. It will cause the time\n" )
pick( MSG_EXPLAIN_5,        "                  帪娫偑惓偟偔側偔側傝傑偡.傑偨丄抣偑彫偝偡偓傞偲丄抶偄僔僗僥儉\n",
                "                  to be incorrect during program execution. Also, rates\n" )
pick( MSG_EXPLAIN_6,        "                  偺応崌丄僋儔僢僔儏偡傞壜擻惈偑偁傝傑偡.\n",
                "                  which are too small, may crash slower systems.\n" )
#endif

#if defined(RSI)      /* messages in samprsi */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 55) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "              巜掕偡傞悢抣 (斖埻:1 偐傜 55傑偱) 偱偡 (棉太倌: 55)\n",
                "              time interval (in milliseconds) between samples (default: 55)\n" )
#endif

#ifdef WIN      /* messages in sampwin */
pick( MSG_EXPLAIN_1,        "    <rate>    偼僒儞僾儕儞僌娫偺偍傛偦偺帪娫娫妘 (扨埵:胸昩) 傪\n",
                "    <rate>    is a number (range 1 to 1000) specifying the approximate\n" )
pick( MSG_EXPLAIN_2,        "              巜掕偡傞悢抣 (斖埻:1 偐傜 1000傑偱) 偱偡 (棉太倌: 55)\n",
                "              time interval (in milliseconds) between samples (default: 55)\n" )
#endif

pick( MSG_USAGE_LN_9,
    "\n   僆僾僔儑儞偺拞偱偼 '=' 偺戙傝偵 '#' 傪巊偭偰偔偩偝偄 (椺 -b#10)\n",
    "\n   '#' may be used instead of '=' in options (eg. -b#10)\n" )

#ifdef DOS      /* messages in sampdos */
pick( MSG_SAMPLE_1,     "僾儘僌儔儉偺拞偺僙僋僔儑儞偑懡偡偓傑偡",
                "Too many sections in program" )
pick( MSG_SAMPLE_2,     "妱崬傒 34 偐傜 3d 偼 80x87 僄儈儏儗乕僔儑儞偺偨傔偵梊栺偝傟偰偍傝丄儌僯僞乕偱偒傑偣傫",
                "Interrupts 34 to 3d are reserved for 80x87 emulation and cannot be monitored" )
pick( MSG_SAMPLE_3,     "9屄埲忋偺妱崬傒偼儌僯僞乕偱偒傑偣傫",
                "Cannot monitor more than eight interrupts" )
#endif

#ifdef OS2      /* messages in sampos2 */
pick( MSG_SAMPLE_1,     "幚峴拞: ",

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?