Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

config.h

Go to the documentation of this file.
00001 
00002 //
00003 // YASA configuration declarations
00004 //
00005 // Project: Yasa 2
00006 // Author : Jan Blumenthal
00007 // Start  : 2002/02/28
00008 // $Header: /sources/yasa/yasagui/config.h,v 1.5 2003/01/24 15:47:40 bj Exp $
00009 //
00011 //
00012 // This program is free software; you can redistribute it and/or modify
00013 // it under the terms of the GNU General Public License as published by
00014 // the Free Software Foundation; either version 2 of the License, or
00015 // (at your option) any later version.
00016 //
00017 // This program is distributed in the hope that it will be useful,
00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 // GNU General Public License for more details.
00021 //
00022 // You should have received a copy of the GNU General Public License
00023 // along with this program (See the included file COPYING);
00024 // if not, write to the Free Software Foundation, Inc.,
00025 // 675 Mass Ave, Cambridge, MA 02139, USA.
00026 //
00028 #ifndef YASAGUI_CONFIG_INCLUDE
00029 #define YASAGUI_CONFIG_INCLUDE
00030 
00031 
00033 typedef const char *                CONFIG_STRING;
00034 
00035 
00038 #define YPC_WORKSPACE               "workspace"
00039 #define YPC_AUTHOR                  "author"
00040 #define YPC_VERSION                 "version"
00041 //efine YPC_YASAVERSION             "required_yasa_version"         // float value
00042 #define YPC_CREATION_DATE           "start_of_workspace"
00043 #define YPC_LASTCHANGED_DATE        "last_changed"
00044 #define YPC_PROJECTS                "projects"
00045 #define YPC_DOCTYPE                 "!DOCTYPE"
00046 #define YPC_YASA_WORKSPACE          "YASA_WORKSPACE"
00047 #define YPC_STATE_YES               "yes"
00048 #define YPC_STATE_NO                "no"
00049 
00050 #define YPC_TASK                    "task"
00051 #define YPC_MUTEX                   "mutex"
00052 #define YPC_ENVIRONMENT             "environment"
00053 #define YPC_RESULTS                 "results"
00054 #define YPC_TIMING                  "timing"
00055 #define YPC_STATISTIC               "statistic"
00056 
00057 #define YPC_PROJECT                 "project"
00058 #define YPC_SORTED_BY_TASKS         "tasks"
00059 #define YPC_SORTED_BY_MUTEXES       "mutex"
00060 #define YPC_SORTED_BY_CPU           "cpu"
00061 #define YPC_PROJECT_DIR             "projectdir"
00062 
00063 #define YPC_DESCRIPTION             "description"
00064 #define YPC_ID                      "id"
00065 #define YPC_NAME                    "name"
00066 #define YPC_CPU                     "cpu"
00067 #define YPC_MAX_CPU                 "maxcpu"
00068 #define YPC_NUMBER_OF_CPUS          "number_of_cpus"
00069 //#define YPC_NUMBER_OF_TASKS           "number_of_tasks"
00070 //#define YPC_NUMBER_OF_MUTEXES     "number_of_mutexes"
00071 //#define YPC_NUMBER_OF_ENVIRONMENTS    "number_of_environments"
00072 #define YPC_CALC_PREEMPTIONTIME     "calc_preemption_time"          // derivable by projects->environments->schedulers
00073 #define YPC_SCHEDULING_TIME         "scheduling_time"
00074 #define YPC_SYNCHRONIZATION_OFFSET  "synchronization_offset"
00075 #define YPC_SCHEDULER               "scheduler"
00076 #define YPC_SCHEDULERNAME           "schedulername"
00077 #define YPC_EXECUTIVENAME           "executivename"
00078 #define YPC_TIMER_TICK              "timer_tick"                    // derivable by projects->environments->schedulers
00079 #define YPC_END_TIME                "end_tick"
00080 #define YPC_MIN_TIMER_TICK          "min_timer_tick"
00081 
00082 #define YPC_TASK_TYPE               "task_type"
00083 #define YPC_SERVER_TYPE             "server_type"
00084 #define YPC_SERVER                  "server"
00085 #define YPC_PRIORITY                "priority"
00086 #define YPC_PERIOD                  "period"
00087 #define YPC_REQUIRED_TIME           "required_time"
00088 #define YPC_DEADLINE                "deadline"
00089 #define YPC_DEADLINE_TOLERANCE      "deadline_tolerance"
00090 #define YPC_DEADLINE_BEHAVIOUR      "deadline_behaviour"
00091 #define YPC_RESOURCE_TIME           "resource_time"
00092 #define YPC_RESUME_TIME             "resume_time"
00093 #define YPC_OFFSET                  "offset"
00094 #define YPC_INIT                    "function_init"
00095 #define YPC_EXECUTE                 "function_execute"
00096 #define YPC_CLEANUP                 "function_cleanup"
00097 #define YPC_HEADER                  "header"
00098 #define YPC_SOURCE                  "source"
00099 #define YPC_PATH                    "path"
00100 #define YPC_TIME                    "time"
00101 #define YPC_ACTION                  "action"
00102 #define YPC_PROTOCOL                "protocol"          // see $YASA/include/yasa/yasa_resources.h
00103 //#define YPC_PREEMPTCEILING            "preemptceiling"
00104 //#define YPC_PRIORITYCEILING           "priorityceiling"
00105 //#define YPC_DERIVED_TIMERTICK         "derived_timertick"
00106 //#define YPC_DERIVED_CALCPREEMPTCEILING    "derived_calcpreemptceiling"
00107 
00108 
00109 // scheduler & executive options
00110 #define YPC_GCC_COMPILER_OPTIONS    "gcc_compiler_options"
00111 #define YPC_LOGFILE_NAME            "logfile"
00112 #define YPC_SUPPORT_CALC_PREEMPTIONTIME "support_calcpreemptiontime"
00113 #define YPC_SUPPORT_TIMER_TICK      "support_timer_tick"
00114 #define YPC_YASA_SCHEDULER          "yasa_scheduler"                    // doc type
00115 #define YPC_SCHEDULER_TYPE          "scheduler_type"                    // type of scheduler 0=static
00116 #define YPC_YASA_EXECUTIVE          "yasa_executive"                    // doc type
00117 #define YPC_SUPPORT_SOURCE_CODES    "support_source_codes"
00118 #define YPC_SUPPORT_UNLIMITED_CPUS  "support_unlimited_cpus"
00119 #define YPC_SUPPORT_CHANGEABLE_CPUS "support_changeable_cpus"
00120 #define YPC_SUPPORT_RESUME_TIMES    "support_resume_times"
00121 #define YPC_SUPPORT_RESOURCE_ACTIONS "support_resource_actions"
00122 #define YPC_SUPPORT_EMERGENCY_THREADS "support_emergency_threads"
00123 #define YPC_SUPPORT_CANCEL_THREADS  "support_cancel_threads"
00124 #define YPC_SUPPORT_SCHEDULING_TIME "support_scheduling_time"
00125 #define YPC_SUPPORT_SYNCHRONIZATION_OFFSET  "support_synchronization_offset"
00126 #define YPC_MAP_IDLE_NAME           "map_idle_name"
00127 
00128 
00130 #endif                                                                  // ifndef YASAGUI_CONFIG_INCLUDE

Generated on Thu Feb 13 23:43:52 2003 for Yasa by doxygen1.3-rc3