Annotation of ADD_ver_10/main.h, revision 1.2

1.1       rico        1: /********************************************************************/
                      2: /*  Main.h                                                          */
                      3: /*                                                                  */
                      4: /*  Copyright (c) 1997-2006 Rafael Rico      (rafael.rico@uah.es)   */
                      5: /*                                                                  */
                      6: /*  This file is part of ADD version 5.10.                          */
                      7: /*                                                                  */
                      8: /*  ADD is free software; you can redistribute it and/or modify     */
                      9: /*  it under the terms of the GNU General Public License as         */
                     10: /*  published by the Free Software Foundation; either version 2 of  */
                     11: /*  the License, or (at your option) any later version.             */
                     12: /*                                                                  */
                     13: /*  ADD is distributed in the hope that it will be useful,          */
                     14: /*  but WITHOUT ANY WARRANTY; without even the implied warranty of  */
                     15: /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   */
                     16: /*  GNU General Public License for more details.                    */
                     17: /*                                                                  */
                     18: /*  You should have received a copy of the GNU General Public       */
                     19: /*  License along with ADD; if not, write to the Free Software      */
                     20: /*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA        */
                     21: /*  02111-1307  USA                                                 */
                     22: /*                                                                  */
                     23: /*  --------------------------- History --------------------------- */
                     24: /*                                                                  */
                     25: /*  Revision 1.2. 01/2006                                           */
                     26: /*  Added GPL License and JavaDoc style documentation               */
                     27: /*                                                                  */
                     28: /*  Revision 1.1. 09/2005                                           */
                     29: /*  Initial Revision                                                */
                     30: /*                                                                  */
                     31: /********************************************************************/
                     32: 
                     33: /******************************************************************************/
                     34: /* MÓDULO: main.h                                                             */
                     35: /*                                                                            */
                     36: /* Prototipos de funciones utilizadas en el módulo 'Main.c'                   */
                     37: /******************************************************************************/
                     38: /* Fecha: 9 de septiembre de 2005                                             */
                     39: /******************************************************************************/
                     40: 
                     41: 
                     42: /* MÓDULO 'Configuracion.c' */
                     43: 
                     44: void CargarConfiguracionInicial();
                     45: void CapturarArgumentos(int argc, char *argv[]);
                     46: 
                     47: 
                     48: 
                     49: /* MÓDULO 'Notificaciones.c' */
                     50: 
                     51: void IniciarNotificaciones();
                     52: void NotificarConfiguracion();
                     53: void Notificar(char *mensaje, unsigned char accion, unsigned char eco);
                     54: 
                     55: 
                     56: 
                     57: /* MÓDULO 'BasesDatos.c' */
                     58: 
                     59: void CargarBasesDatos();
                     60: void LiberarMemoriaBasesDatos();
                     61: 
                     62: 
                     63: 
                     64: /* MÓDULO 'Recuentos.c' */
                     65: 
                     66: void CrearContadores();
                     67: void ActualizarRecuentos(fichainstruccion *tarjetaoperandos);
                     68: void LiberarMemoriaContadores();
                     69: 
                     70: 
                     71: 
                     72: /* MÓDULO 'CalcularCiclos.c' */
                     73: 
                     74: void CalcularCiclosInstruccion(fichainstruccion *tarjetaoperandos);
                     75: void ActualizarCPImedio(unsigned short int ciclosALU, unsigned short int ciclosBIU);
                     76: 
                     77: 
                     78: 
                     79: /* MÓDULO 'Ficheros.c' */
                     80: 
                     81: void SalvarBasesDatos();
                     82: void CrearFicheroConfiguracion();
                     83: 
                     84: void IniciarFicheroVentana();
                     85: void Instruccion2FicheroVentana(fichainstruccion *tarjetaoperandos);
                     86: void Matrices2FicheroVentana();
                     87: 
                     88: void CrearFicheroResultados(char *fichero);
                     89: 
                     90: 
                     91: 
                     92: /* MÓDULO 'GUI.c' */
                     93: 
1.2     ! rico       94: void MostrarCabecera();
        !            95: void PresentarEstadoProcesamiento(unsigned long total, unsigned long encurso);
1.1       rico       96: void MostrarTarjeta(fichainstruccion *tarjetaoperandos);
                     97: void MostrarVentana();
                     98: 
                     99: 
                    100: 
                    101: /* MÓDULO 'AnalizadorOperandos16bits.c' */
                    102: 
                    103: void AnalizarOperandosIA16(unsigned char secuencia[12], fichainstruccion *tarjetaoperandos);
                    104: 
                    105: 
                    106: 
                    107: /* MÓDULO 'Matrices.c' */
                    108: 
                    109: void IniciarPunterosMatrices();
                    110: 
                    111: void CrearMatricesDependencias();
                    112: void IniciarMatricesDependencias();
                    113: void LiberarMemoriaMatricesDependencias();
                    114: 
                    115: 
                    116: 
                    117: /* MÓDULO 'AnalizadorDependencias.c' */
                    118: 
                    119: void CrearPizarras();
                    120: void IniciarPizarras();
                    121: void LiberarMemoriaPizarras();
                    122: 
                    123: void CrearVectorDependencias();
                    124: void IniciarVectorDependencias();
                    125: void LiberarMemoriaVectorDependencias();
                    126: 
                    127: void AnalizarDependencias(fichainstruccion *tarjetaoperandos, int instruccion);
                    128: void GenerarMatrizD();
                    129: 
                    130: void AnotarEscrituras(fichainstruccion *tarjetaoperandos, int instruccion);
                    131: void AnotarLecturas(fichainstruccion *tarjetaoperandos, int instruccion);
                    132: 
                    133: 
                    134: 
                    135: /* MÓDULO 'CalculosMatrices.c' */
                    136: 
                    137: void CrearListaOrdenParcial();
                    138: void IniciarListaOrdenParcial();
                    139: void LiberarMemoriaListaOrdenParcial();
                    140: 
                    141: void CrearMatrizCaminos();
                    142: void IniciarMatrizCaminos();
                    143: void LiberarMemoriaMatrizCaminos();
                    144: 
                    145: parametromatriz * CrearVariableAgregada();
                    146: void IniciarVariableAgregada(parametromatriz *variable);
                    147: 
                    148: unsigned int ListaOrdenParcial(unsigned char **D, char **lista);
                    149: unsigned int CalcularMatrizCaminos(unsigned char **D, unsigned char **C);
                    150: 
                    151: void CalcularPasosComputacion(parametromatriz *pasos);
                    152: void CalcularGradoParalelismoNormalizado(parametromatriz *pasos, parametromatriz *grado);
                    153: void CalcularAcoplamiento(parametromatriz *acoplamiento);
                    154: 
                    155: void CalcularPromedioVariableAgregada(parametromatriz *media, parametromatriz *actual, unsigned long n);
                    156: 
                    157: void CrearHistogramaPasos();
                    158: void ActualizarHistogramaPasos();
                    159: void LiberarMemoriaHistogramaPasos();
                    160: 
                    161: 
                    162: 
                    163: /* MÓDULO 'Auxiliares.c' */
                    164: 
                    165: unsigned int BuscarElementoLista(char *lista, char *cadena);
                    166: void EliminarElementoLista(char *lista, char *cadena);
                    167: 
                    168: void DeterminarRango();
                    169: 
                    170: void ConvertirHex2Bin(char *cadenahex, unsigned char *secuencia, unsigned char maxformato);
                    171: 
                    172: 
                    173: 
1.2     ! rico      174: /* MÓDULO 'Planificador.c' */    /* SIN HACER */
1.1       rico      175: 
                    176: double CalcularTiempo();
                    177: 
                    178: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>